diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 06:05:05 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:42:51 +0100 |
commit | c0965e6371fa50fdf5cc2291915de97412fb1ec9 (patch) | |
tree | 2f0a93f5051ca604a43ab50ffe5e239ff134ae1c /drivers/scsi/t128.h | |
parent | ncr5380: Eliminate PDEBUG*, TDEBUG* and DTCDEBUG* macros (diff) | |
download | linux-c0965e6371fa50fdf5cc2291915de97412fb1ec9.tar.xz linux-c0965e6371fa50fdf5cc2291915de97412fb1ec9.zip |
ncr5380: Remove more pointless macros
ASM macro is never defined. rtrc in pas16.c is not used.
NCR5380_map_config, do_NCR5380_intr, do_t128_intr and do_pas16_intr
are unused. NCR_NOT_SET harms readability. Remove them.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/t128.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/t128.h b/drivers/scsi/t128.h index 40c2fe7771e7..cdcde3e672fa 100644 --- a/drivers/scsi/t128.h +++ b/drivers/scsi/t128.h @@ -67,8 +67,6 @@ #define T_DATA_REG_OFFSET 0x1e00 /* rw 512 bytes long */ -#ifndef ASM - #ifndef CMD_PER_LUN #define CMD_PER_LUN 2 #endif @@ -92,7 +90,6 @@ #define NCR5380_write(reg, value) writeb((value),(T128_address(reg))) #define NCR5380_intr t128_intr -#define do_NCR5380_intr do_t128_intr #define NCR5380_queue_command t128_queue_command #define NCR5380_abort t128_abort #define NCR5380_bus_reset t128_bus_reset @@ -105,5 +102,4 @@ #define T128_IRQS 0xc4a8 -#endif /* ndef ASM */ #endif /* T128_H */ |