diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 00:11:54 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:06 -0500 |
commit | 997acab7d593913eaa0606ff257079efcfcb146d (patch) | |
tree | 239997e829da105725a82d12d981c2ae9b6d4189 /drivers/scsi/dtc.c | |
parent | 76f13b9321ec8f9550cd1557ed28ac6ae91e612c (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/dtc.c')
-rw-r--r-- | drivers/scsi/dtc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index e890b08efbd8..975abbfe0bba 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c | |||
@@ -1,5 +1,4 @@ | |||
1 | 1 | ||
2 | #define AUTOSENSE | ||
3 | #define PSEUDO_DMA | 2 | #define PSEUDO_DMA |
4 | #define DONT_USE_INTR | 3 | #define DONT_USE_INTR |
5 | #define UNSAFE /* Leave interrupts enabled during pseudo-dma I/O */ | 4 | #define UNSAFE /* Leave interrupts enabled during pseudo-dma I/O */ |
@@ -30,9 +29,6 @@ | |||
30 | 29 | ||
31 | /* | 30 | /* |
32 | * Options : | 31 | * Options : |
33 | * AUTOSENSE - if defined, REQUEST SENSE will be performed automatically | ||
34 | * for commands that return with a CHECK CONDITION status. | ||
35 | * | ||
36 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance | 32 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance |
37 | * increase compared to polled I/O. | 33 | * increase compared to polled I/O. |
38 | * | 34 | * |