diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/scsi_ioctl.c | 5 | ||||
-rw-r--r-- | drivers/scsi/scsi_ioctl.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/scsi_ioctl.c b/drivers/block/scsi_ioctl.c index 689527a89de7..681871ca5d60 100644 --- a/drivers/block/scsi_ioctl.c +++ b/drivers/block/scsi_ioctl.c | |||
@@ -328,11 +328,6 @@ static int sg_io(struct file *file, request_queue_t *q, | |||
328 | return 0; | 328 | return 0; |
329 | } | 329 | } |
330 | 330 | ||
331 | #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ) | ||
332 | #define START_STOP_TIMEOUT (60 * HZ) | ||
333 | #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ) | ||
334 | #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ) | ||
335 | #define READ_DEFECT_DATA_TIMEOUT (60 * HZ ) | ||
336 | #define OMAX_SB_LEN 16 /* For backward compatibility */ | 331 | #define OMAX_SB_LEN 16 /* For backward compatibility */ |
337 | 332 | ||
338 | static int sg_scsi_ioctl(struct file *file, request_queue_t *q, | 333 | static int sg_scsi_ioctl(struct file *file, request_queue_t *q, |
diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c index 68c9728dfbbb..7a6b530115ac 100644 --- a/drivers/scsi/scsi_ioctl.c +++ b/drivers/scsi/scsi_ioctl.c | |||
@@ -27,11 +27,6 @@ | |||
27 | 27 | ||
28 | #define NORMAL_RETRIES 5 | 28 | #define NORMAL_RETRIES 5 |
29 | #define IOCTL_NORMAL_TIMEOUT (10 * HZ) | 29 | #define IOCTL_NORMAL_TIMEOUT (10 * HZ) |
30 | #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ) | ||
31 | #define START_STOP_TIMEOUT (60 * HZ) | ||
32 | #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ) | ||
33 | #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ) | ||
34 | #define READ_DEFECT_DATA_TIMEOUT (60 * HZ ) /* ZIP-250 on parallel port takes as long! */ | ||
35 | 30 | ||
36 | #define MAX_BUF PAGE_SIZE | 31 | #define MAX_BUF PAGE_SIZE |
37 | 32 | ||