remove drivers/scsi/constants.c:scsi_print_req_sense()
PATCH 9/31 remove drivers/scsi/constants.c:scsi_print_req_sense()
From: Adrian Bunk <[email protected]>
This function is no longer used anywhere.
Signed-off-by Adrian Bunk <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/constants.c | 10 ---------- include/scsi/scsi_dbg.h | 1 - 2 files changed, 11 deletions(-)
drivers/scsi/constants.c renamed from drivers/scsi/constants.c~remove-drivers-scsi-constantscscsi_print_req_sense +0 -10
@@ -1268,16 +1268,6 @@ void scsi_print_sense(const char *devcla }EXPORT_SYMBOL (scsi_print_sense); -void scsi_print_req_sense (const char *devclass,struct scsi_request *sreq) -{ -const char *name = devclass; - -if (sreq->sr_request->rq_disk) - name = sreq->sr_request->rq_disk->disk_name; -__scsi_print_sense (name, sreq->sr_sense_buffer,SCSI_SENSE_BUFFERSIZE ); -} -EXPORT_SYMBOL (scsi_print_req_sense); -void scsi_print_command (struct scsi_cmnd *cmd) {/* Assume appended output (i.e. not at start of line) */
include/scsi/scsi_dbg.h renamed from include/scsi/scsi_dbg.h~remove-drivers-scsi-constantscscsi_print_req_sense +0 -1
@@ -9,7 +9,6 @@ extern void scsi_print_command(struct scextern void scsi_print_sense_hdr (const char *,struct scsi_sense_hdr *);extern void __scsi_print_command (unsigned char *);extern void scsi_print_sense (const char *,struct scsi_cmnd *); -extern void scsi_print_req_sense (const char *,struct scsi_request *);extern void __scsi_print_sense (const char *name,const unsigned char *sense_buffer,int sense_len);
_