summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_NCR5380.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-10-24 14:26:58 +0200
committerChristoph Hellwig <hch@lst.de>2014-11-12 11:16:04 +0100
commit1fa6b5fbba8c7d4d0cbc428efc4838b813046420 (patch)
tree9a5b12b11f97e27137fba560cf83540a70a9938b /drivers/scsi/sun3_NCR5380.c
parentscsi: repurpose the last argument from print_opcode_name() (diff)
downloadlinux-1fa6b5fbba8c7d4d0cbc428efc4838b813046420.tar.xz
linux-1fa6b5fbba8c7d4d0cbc428efc4838b813046420.zip
scsi: Remove scsi_print_command when calling abort
Calling scsi_print_command should not be necessary during abort; if the information is required one should enable scsi logging. 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 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r--drivers/scsi/sun3_NCR5380.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c
index 1a2367a1b1f2..3abd796b9893 100644
--- a/drivers/scsi/sun3_NCR5380.c
+++ b/drivers/scsi/sun3_NCR5380.c
@@ -2608,8 +2608,7 @@ static int NCR5380_abort(struct scsi_cmnd *cmd)
struct scsi_cmnd *tmp, **prev;
unsigned long flags;
- printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO);
- scsi_print_command(cmd);
+ scmd_printk(KERN_NOTICE, cmd, "aborting command\n");
NCR5380_print_status (instance);