summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_scsi.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2017-01-16 00:50:57 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-01 03:37:44 +0100
commit9507037304e581493bcd8bf76e013e44be71470e (patch)
tree844dfa7cb4abd2a7affb40d40cbad1da4b8d979d /drivers/scsi/sun3_scsi.c
parentscsi: ncr5380: Shorten host info string by removing unused option macros (diff)
downloadlinux-9507037304e581493bcd8bf76e013e44be71470e.tar.xz
linux-9507037304e581493bcd8bf76e013e44be71470e.zip
scsi: ncr5380: Clean up dead code and redundant macro usage
Remove dead code inside #if 0 conditionals. Remove the #ifdef __KERNEL__ test, since NCR5380.h has no definitions that relate to userspace code. Remove two redundant macro definitions which were overlooked in commit e9db3198e08b ("sun3_scsi: Adopt NCR5380.c core driver"). Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Tested-by: Ondrej Zary <linux@rainbow-software.org> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
-rw-r--r--drivers/scsi/sun3_scsi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
index 88db6992420e..166f466964c4 100644
--- a/drivers/scsi/sun3_scsi.c
+++ b/drivers/scsi/sun3_scsi.c
@@ -56,9 +56,6 @@
#define NCR5380_dma_send_setup sun3scsi_dma_count
#define NCR5380_dma_residual sun3scsi_dma_residual
-#define NCR5380_acquire_dma_irq(instance) (1)
-#define NCR5380_release_dma_irq(instance)
-
#include "NCR5380.h"