aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-19 07:43:26 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-06-26 13:17:24 -0400
commit3111b0d1646b3e1891dc08112d087aed2146fafe (patch)
tree63c0e61dfc184ae6e567f94f1c95dbd517879ed3 /drivers/scsi/scsi_priv.h
parent8d115f845a0bd59cd263e791f739964f42b7b0e8 (diff)
[SCSI] remove scsi_eh_eflags_ macros
Just opencoded access to eh_eflags, it's much more readable anyway. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index e0f5b5d4582d..d30d7f4e63ec 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -21,15 +21,6 @@ struct Scsi_Host;
21/* 21/*
22 * Scsi Error Handler Flags 22 * Scsi Error Handler Flags
23 */ 23 */
24#define scsi_eh_eflags_chk(scp, flags) \
25 ((scp)->eh_eflags & (flags))
26#define scsi_eh_eflags_set(scp, flags) \
27 do { (scp)->eh_eflags |= (flags); } while(0)
28#define scsi_eh_eflags_clr(scp, flags) \
29 do { (scp)->eh_eflags &= ~(flags); } while(0)
30#define scsi_eh_eflags_clr_all(scp) \
31 (scp->eh_eflags = 0)
32
33#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */ 24#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */
34#define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */ 25#define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */
35 26