diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 00:11:50 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:04 -0500 |
commit | 48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f (patch) | |
tree | d5247b4d9c4d7e23609041b3baeea4ec94c3556c /drivers/scsi/sun3_scsi.c | |
parent | 925e4610933ed8ad047015188186b6d98105b980 (diff) |
ncr5380: Remove unused macros
Some macros are never evaluated (i.e. FOO, USLEEP, SCSI2 and USE_WRAPPER;
and in some drivers, NCR5380_intr and NCR5380_proc_info). DRIVER_SETUP
serves no purpose anymore. Remove these macro definitions.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index cd4bf3a5faaa..a6fe27b21dba 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -43,10 +43,6 @@ | |||
43 | * Options : | 43 | * Options : |
44 | * | 44 | * |
45 | * PARITY - enable parity checking. Not supported. | 45 | * PARITY - enable parity checking. Not supported. |
46 | * | ||
47 | * SCSI2 - enable support for SCSI-II tagged queueing. Untested. | ||
48 | * | ||
49 | * USLEEP - enable support for devices that don't disconnect. Untested. | ||
50 | */ | 46 | */ |
51 | 47 | ||
52 | #define AUTOSENSE | 48 | #define AUTOSENSE |
@@ -79,18 +75,7 @@ | |||
79 | 75 | ||
80 | extern int sun3_map_test(unsigned long, char *); | 76 | extern int sun3_map_test(unsigned long, char *); |
81 | 77 | ||
82 | #define USE_WRAPPER | ||
83 | /*#define RESET_BOOT */ | 78 | /*#define RESET_BOOT */ |
84 | #define DRIVER_SETUP | ||
85 | |||
86 | /* | ||
87 | * BUG can be used to trigger a strange code-size related hang on 2.1 kernels | ||
88 | */ | ||
89 | #ifdef BUG | ||
90 | #undef RESET_BOOT | ||
91 | #undef DRIVER_SETUP | ||
92 | #endif | ||
93 | |||
94 | /* #define SUPPORT_TAGS */ | 79 | /* #define SUPPORT_TAGS */ |
95 | 80 | ||
96 | #ifdef SUN3_SCSI_VME | 81 | #ifdef SUN3_SCSI_VME |