diff options
Diffstat (limited to 'include')
-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) | |||
402 | #define DRIVER_HARD 0x07 | 402 | #define DRIVER_HARD 0x07 |
403 | #define DRIVER_SENSE 0x08 | 403 | #define DRIVER_SENSE 0x08 |
404 | 404 | ||
405 | #define SUGGEST_RETRY 0x10 | ||
406 | #define SUGGEST_ABORT 0x20 | ||
407 | #define SUGGEST_REMAP 0x30 | ||
408 | #define SUGGEST_DIE 0x40 | ||
409 | #define SUGGEST_SENSE 0x80 | ||
410 | #define SUGGEST_IS_OK 0xff | ||
411 | |||
412 | #define DRIVER_MASK 0x0f | ||
413 | #define SUGGEST_MASK 0xf0 | ||
414 | |||
415 | /* | 405 | /* |
416 | * Internal return values. | 406 | * Internal return values. |
417 | */ | 407 | */ |
@@ -447,7 +437,6 @@ static inline int scsi_is_wlun(unsigned int lun) | |||
447 | #define msg_byte(result) (((result) >> 8) & 0xff) | 437 | #define msg_byte(result) (((result) >> 8) & 0xff) |
448 | #define host_byte(result) (((result) >> 16) & 0xff) | 438 | #define host_byte(result) (((result) >> 16) & 0xff) |
449 | #define driver_byte(result) (((result) >> 24) & 0xff) | 439 | #define driver_byte(result) (((result) >> 24) & 0xff) |
450 | #define suggestion(result) (driver_byte(result) & SUGGEST_MASK) | ||
451 | 440 | ||
452 | static inline void set_msg_byte(struct scsi_cmnd *cmd, char status) | 441 | static inline void set_msg_byte(struct scsi_cmnd *cmd, char status) |
453 | { | 442 | { |