diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 08:11:50 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 11:11:04 +0300 |
commit | 48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f (patch) | |
tree | d5247b4d9c4d7e23609041b3baeea4ec94c3556c /drivers/scsi/mac_scsi.c | |
parent | 925e4610933ed8ad047015188186b6d98105b980 (diff) | |
download | linux-48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f.tar.xz |
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/mac_scsi.c')
-rw-r--r-- | drivers/scsi/mac_scsi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index dc774959cc20..579a3d4177f6 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c @@ -55,7 +55,6 @@ #include "NCR5380.h" #define RESET_BOOT -#define DRIVER_SETUP extern void via_scsi_clear(void); @@ -113,7 +112,6 @@ static __inline__ void macscsi_write(struct Scsi_Host *instance, int reg, int va */ static int __init mac_scsi_setup(char *str) { -#ifdef DRIVER_SETUP int ints[7]; (void)get_options( str, ARRAY_SIZE(ints), ints); @@ -166,7 +164,6 @@ static int __init mac_scsi_setup(char *str) { } #endif /* SUPPORT_TAGS */ -#endif /* DRIVER_SETUP */ return 1; } |