summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-07-01 15:16:24 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-08-23 18:34:56 +0200
commit87f14e658f664a17dcdb38d3f6ae70642fcdc263 (patch)
tree4ccf6e9a3c91c641d0cb6900f217a49f09960451 /include/scsi/scsi.h
parent[SCSI] Document enhanced error codes (diff)
downloadlinux-87f14e658f664a17dcdb38d3f6ae70642fcdc263.tar.xz
linux-87f14e658f664a17dcdb38d3f6ae70642fcdc263.zip
[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/scsi.h')
-rw-r--r--include/scsi/scsi.h1
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.