summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pas16.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 00:11:54 -0500
committerChristoph Hellwig <hch@lst.de>2014-11-20 03:11:06 -0500
commit997acab7d593913eaa0606ff257079efcfcb146d (patch)
tree239997e829da105725a82d12d981c2ae9b6d4189 /drivers/scsi/pas16.c
parent76f13b9321ec8f9550cd1557ed28ac6ae91e612c (diff)
ncr5380: Remove redundant AUTOSENSE macro
Every NCR5380 driver sets AUTOSENSE so it need not be optional (and the mid-layer expects it). Remove this redundant macro to improve readability. 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>
Diffstat (limited to 'drivers/scsi/pas16.c')
-rw-r--r--drivers/scsi/pas16.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c
index ffa399e7860a..7621205e4aa0 100644
--- a/drivers/scsi/pas16.c
+++ b/drivers/scsi/pas16.c
@@ -1,4 +1,3 @@
1#define AUTOSENSE
2#define PSEUDO_DMA 1#define PSEUDO_DMA
3#define UNSAFE /* Not unsafe for PAS16 -- use it */ 2#define UNSAFE /* Not unsafe for PAS16 -- use it */
4#define PDEBUG 0 3#define PDEBUG 0
@@ -39,9 +38,6 @@
39 38
40/* 39/*
41 * Options : 40 * Options :
42 * AUTOSENSE - if defined, REQUEST SENSE will be performed automatically
43 * for commands that return with a CHECK CONDITION status.
44 *
45 * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512 41 * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512
46 * bytes at a time. Since interrupts are disabled by default during 42 * bytes at a time. Since interrupts are disabled by default during
47 * these transfers, we might need this to give reasonable interrupt 43 * these transfers, we might need this to give reasonable interrupt