diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 16:05:05 +1100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-06 21:42:51 -0500 |
commit | c0965e6371fa50fdf5cc2291915de97412fb1ec9 (patch) | |
tree | 2f0a93f5051ca604a43ab50ffe5e239ff134ae1c /drivers/scsi/pas16.c | |
parent | 2f7dba9f7d8f8ece8f224bf26e9b2a06da2ed15c (diff) | |
download | op-kernel-dev-c0965e6371fa50fdf5cc2291915de97412fb1ec9.zip op-kernel-dev-c0965e6371fa50fdf5cc2291915de97412fb1ec9.tar.gz |
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 'drivers/scsi/pas16.c')
-rw-r--r-- | drivers/scsi/pas16.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index 62bf1b4..bf471a3 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c @@ -145,22 +145,6 @@ static const unsigned short pas16_offset[ 8 ] = * START_DMA_INITIATOR_RECEIVE_REG wo */ }; -/*----------------------------------------------------------------*/ -/* the following will set the monitor border color (useful to find - where something crashed or gets stuck at */ -/* 1 = blue - 2 = green - 3 = cyan - 4 = red - 5 = magenta - 6 = yellow - 7 = white -*/ -#if 1 -#define rtrc(i) {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);} -#else -#define rtrc(i) {} -#endif /* |