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/NCR5380.h | |
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/NCR5380.h')
-rw-r--r-- | drivers/scsi/NCR5380.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index b36e3b4a9d43..f09d560fb6b2 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h | |||
@@ -25,10 +25,7 @@ | |||
25 | #define NCR5380_H | 25 | #define NCR5380_H |
26 | 26 | ||
27 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
28 | |||
29 | #ifdef AUTOSENSE | ||
30 | #include <scsi/scsi_eh.h> | 28 | #include <scsi/scsi_eh.h> |
31 | #endif | ||
32 | 29 | ||
33 | #define NCR5380_PUBLIC_RELEASE 7 | 30 | #define NCR5380_PUBLIC_RELEASE 7 |
34 | #define NCR53C400_PUBLIC_RELEASE 2 | 31 | #define NCR53C400_PUBLIC_RELEASE 2 |
@@ -281,9 +278,7 @@ struct NCR5380_hostdata { | |||
281 | unsigned pendingr; | 278 | unsigned pendingr; |
282 | unsigned pendingw; | 279 | unsigned pendingw; |
283 | #endif | 280 | #endif |
284 | #ifdef AUTOSENSE | ||
285 | struct scsi_eh_save ses; | 281 | struct scsi_eh_save ses; |
286 | #endif | ||
287 | }; | 282 | }; |
288 | 283 | ||
289 | #ifdef __KERNEL__ | 284 | #ifdef __KERNEL__ |