summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ps3rom.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/ps3rom.c
parenta9a47bf58ac1d5525ae99922e055d8de87eeae78 (diff)
downloadop-kernel-dev-1fa6b5fbba8c7d4d0cbc428efc4838b813046420.zip
op-kernel-dev-1fa6b5fbba8c7d4d0cbc428efc4838b813046420.tar.gz
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/ps3rom.c')
-rw-r--r--drivers/scsi/ps3rom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/ps3rom.c b/drivers/scsi/ps3rom.c
index ef23fab..b3b48b5 100644
--- a/drivers/scsi/ps3rom.c
+++ b/drivers/scsi/ps3rom.c
@@ -220,10 +220,6 @@ static int ps3rom_queuecommand_lck(struct scsi_cmnd *cmd,
unsigned char opcode;
int res;
-#ifdef DEBUG
- scsi_print_command(cmd);
-#endif
-
priv->curr_cmd = cmd;
cmd->scsi_done = done;
OpenPOWER on IntegriCloud