diff options
author | Martin K. Petersen | 2009-01-04 09:14:11 +0100 |
---|---|---|
committer | James Bottomley | 2009-03-12 18:58:02 +0100 |
commit | 1c9fbafc8c629c89183d6dccec67a8415513b0d1 (patch) | |
tree | 895ca90bbf8255568d691b6603414e15b4161887 /include/scsi/scsi.h | |
parent | [SCSI] ipr: add MSI support (diff) | |
download | kernel-qcow2-linux-1c9fbafc8c629c89183d6dccec67a8415513b0d1.tar.gz kernel-qcow2-linux-1c9fbafc8c629c89183d6dccec67a8415513b0d1.tar.xz kernel-qcow2-linux-1c9fbafc8c629c89183d6dccec67a8415513b0d1.zip |
[SCSI] Remove SUGGEST flags
The SUGGEST_* flags in the SCSI command result have been out of fashion
for a while and we don't actually use them in the error handling.
Remove the remaining occurrences.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/scsi.h')
-rw-r--r-- | include/scsi/scsi.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index a109165714d6..815d4047c4ce 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -402,16 +402,6 @@ static inline int scsi_is_wlun(unsigned int lun) #define DRIVER_HARD 0x07 #define DRIVER_SENSE 0x08 -#define SUGGEST_RETRY 0x10 -#define SUGGEST_ABORT 0x20 -#define SUGGEST_REMAP 0x30 -#define SUGGEST_DIE 0x40 -#define SUGGEST_SENSE 0x80 -#define SUGGEST_IS_OK 0xff - -#define DRIVER_MASK 0x0f -#define SUGGEST_MASK 0xf0 - /* * Internal return values. */ @@ -447,7 +437,6 @@ static inline int scsi_is_wlun(unsigned int lun) #define msg_byte(result) (((result) >> 8) & 0xff) #define host_byte(result) (((result) >> 16) & 0xff) #define driver_byte(result) (((result) >> 24) & 0xff) -#define suggestion(result) (driver_byte(result) & SUGGEST_MASK) static inline void set_msg_byte(struct scsi_cmnd *cmd, char status) { |