summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_dbg.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-10-24 14:27:00 +0200
committerChristoph Hellwig <hch@lst.de>2014-11-12 11:16:05 +0100
commitef61329db7b8b4326b1c4e603806b2754fd2a692 (patch)
treee896200f74ce9205ff1cae9405af268a3ccb76c4 /include/scsi/scsi_dbg.h
parent3cc958cc19278de5fa090f3f7f1ed48b0170980a (diff)
downloadlinux-stable-ef61329db7b8b4326b1c4e603806b2754fd2a692.tar.gz
linux-stable-ef61329db7b8b4326b1c4e603806b2754fd2a692.tar.bz2
linux-stable-ef61329db7b8b4326b1c4e603806b2754fd2a692.zip
scsi: remove scsi_show_result()
Open-code scsi_print_result in sd.c, and cleanup logging to not print duplicate informations. Also remove the call to scsi_show_result() in ufshcd.c to be consistent with other callers of scsi_execute(). With that we can remove scsi_show_result in constants.c Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi/scsi_dbg.h')
-rw-r--r--include/scsi/scsi_dbg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h
index 50f4d8542ece..f41a86bc1a8f 100644
--- a/include/scsi/scsi_dbg.h
+++ b/include/scsi/scsi_dbg.h
@@ -17,7 +17,6 @@ extern void scsi_print_sense(const struct scsi_cmnd *);
extern void __scsi_print_sense(const struct scsi_device *, const char *name,
const unsigned char *sense_buffer,
int sense_len);
-extern void scsi_show_result(int);
extern void scsi_print_result(struct scsi_cmnd *);
extern const char *scsi_hostbyte_string(int);
extern const char *scsi_driverbyte_string(int);