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>
This commit is contained in:

committed by
Christoph Hellwig

parent
925e461093
commit
48f16c9bef
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user