diff options
author | Hannes Reinecke <hare@suse.de> | 2013-07-01 17:16:24 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-08-23 20:34:56 +0400 |
commit | 87f14e658f664a17dcdb38d3f6ae70642fcdc263 (patch) | |
tree | 4ccf6e9a3c91c641d0cb6900f217a49f09960451 /include/scsi | |
parent | 0f7f6234d360341d74cfd6e77fcb315daf9905fd (diff) | |
download | linux-87f14e658f664a17dcdb38d3f6ae70642fcdc263.tar.xz |
[SCSI] Set hostbyte status in scsi_check_sense()
We should be modifying the host_byte status in scsi_check_sense()
directly; this saves us to introduce a special return code for
each and every condition.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 4b87d99e7fa1..e4cd3e975538 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -486,7 +486,6 @@ static inline int scsi_is_wlun(unsigned int lun) #define TIMEOUT_ERROR 0x2007 #define SCSI_RETURN_NOT_HANDLED 0x2008 #define FAST_IO_FAIL 0x2009 -#define TARGET_ERROR 0x200A /* * Midlevel queue return values. |