summaryrefslogtreecommitdiff
path: root/drivers/scsi/pas16.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 08:05:05 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-07 05:42:51 +0300
commitc0965e6371fa50fdf5cc2291915de97412fb1ec9 (patch)
tree2f0a93f5051ca604a43ab50ffe5e239ff134ae1c /drivers/scsi/pas16.h
parent2f7dba9f7d8f8ece8f224bf26e9b2a06da2ed15c (diff)
downloadlinux-c0965e6371fa50fdf5cc2291915de97412fb1ec9.tar.xz
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.h')
-rw-r--r--drivers/scsi/pas16.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/pas16.h b/drivers/scsi/pas16.h
index 1fc7c049d0a1..3634f3fc0325 100644
--- a/drivers/scsi/pas16.h
+++ b/drivers/scsi/pas16.h
@@ -95,9 +95,6 @@
#define OPERATION_MODE_1 0xec03
#define IO_CONFIG_3 0xf002
-
-#ifndef ASM
-
#ifndef CMD_PER_LUN
#define CMD_PER_LUN 2
#endif
@@ -121,7 +118,6 @@
#define NCR5380_write(reg, value) ( outb((value),PAS16_io_port(reg)) )
#define NCR5380_intr pas16_intr
-#define do_NCR5380_intr do_pas16_intr
#define NCR5380_queue_command pas16_queue_command
#define NCR5380_abort pas16_abort
#define NCR5380_bus_reset pas16_bus_reset
@@ -134,5 +130,4 @@
#define PAS16_IRQS 0xd4a8
-#endif /* ndef ASM */
#endif /* PAS16_H */