diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-24 08:27:00 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:16:05 -0500 |
commit | ef61329db7b8b4326b1c4e603806b2754fd2a692 (patch) | |
tree | e896200f74ce9205ff1cae9405af268a3ccb76c4 /include/scsi | |
parent | 3cc958cc19278de5fa090f3f7f1ed48b0170980a (diff) |
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')
-rw-r--r-- | include/scsi/scsi_dbg.h | 1 |
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 *); | |||
17 | extern void __scsi_print_sense(const struct scsi_device *, const char *name, | 17 | extern void __scsi_print_sense(const struct scsi_device *, const char *name, |
18 | const unsigned char *sense_buffer, | 18 | const unsigned char *sense_buffer, |
19 | int sense_len); | 19 | int sense_len); |
20 | extern void scsi_show_result(int); | ||
21 | extern void scsi_print_result(struct scsi_cmnd *); | 20 | extern void scsi_print_result(struct scsi_cmnd *); |
22 | extern const char *scsi_hostbyte_string(int); | 21 | extern const char *scsi_hostbyte_string(int); |
23 | extern const char *scsi_driverbyte_string(int); | 22 | extern const char *scsi_driverbyte_string(int); |