diff mbox

scsi: remove reference to scsi_show_extd_sense()

Message ID 1521898248-20036-1-git-send-email-jpittman@redhat.com (mailing list archive)
State Accepted
Headers show

Commit Message

John Pittman March 24, 2018, 1:30 p.m. UTC
In commit 2104551969e8 ("scsi: use per-cpu buffer for formatting
sense"), function scsi_show_extd_sense() was removed, switching
use over to scsi_format_extd_sense().  Remove last reference to
scsi_show_extd_sense() in include/scsi/scsi_dbg.h.

Signed-off-by: John Pittman <jpittman@redhat.com>
---
 include/scsi/scsi_dbg.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Bart Van Assche March 26, 2018, 10:59 p.m. UTC | #1
On Sat, 2018-03-24 at 09:30 -0400, John Pittman wrote:
> In commit 2104551969e8 ("scsi: use per-cpu buffer for formatting

> sense"), function scsi_show_extd_sense() was removed, switching

> use over to scsi_format_extd_sense().  Remove last reference to

> scsi_show_extd_sense() in include/scsi/scsi_dbg.h.


Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Martin K. Petersen March 28, 2018, 9:47 p.m. UTC | #2
John,

> In commit 2104551969e8 ("scsi: use per-cpu buffer for formatting
> sense"), function scsi_show_extd_sense() was removed, switching use
> over to scsi_format_extd_sense().  Remove last reference to
> scsi_show_extd_sense() in include/scsi/scsi_dbg.h.

Applied to 4.17/scsi-queue. Thanks!
diff mbox

Patch

diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h
index 04e0679..e03bd9d 100644
--- a/include/scsi/scsi_dbg.h
+++ b/include/scsi/scsi_dbg.h
@@ -11,8 +11,6 @@  struct scsi_sense_hdr;
 extern void scsi_print_command(struct scsi_cmnd *);
 extern size_t __scsi_format_command(char *, size_t,
 				   const unsigned char *, size_t);
-extern void scsi_show_extd_sense(const struct scsi_device *, const char *,
-				 unsigned char, unsigned char);
 extern void scsi_print_sense_hdr(const struct scsi_device *, const char *,
 				 const struct scsi_sense_hdr *);
 extern void scsi_print_sense(const struct scsi_cmnd *);