summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-19 13:43:26 +0200
committerJames Bottomley <jejb@titanic.(none)>2005-06-26 12:17:24 -0500
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 e0f5b5d4582..d30d7f4e63e 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -21,15 +21,6 @@ struct Scsi_Host;
/*
* Scsi Error Handler Flags
*/
-#define scsi_eh_eflags_chk(scp, flags) \
- ((scp)->eh_eflags & (flags))
-#define scsi_eh_eflags_set(scp, flags) \
- do { (scp)->eh_eflags |= (flags); } while(0)
-#define scsi_eh_eflags_clr(scp, flags) \
- do { (scp)->eh_eflags &= ~(flags); } while(0)
-#define scsi_eh_eflags_clr_all(scp) \
- (scp->eh_eflags = 0)
-
#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */
#define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */