[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>
This commit is contained in:

committed by
James Bottomley

parent
8d115f845a
commit
3111b0d164
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user