diff options
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 9b3829931f40..c9c3b579eece 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -531,7 +531,7 @@ void scsi_log_send(struct scsi_cmnd *cmd) | |||
531 | * | 531 | * |
532 | * 3: same as 2 | 532 | * 3: same as 2 |
533 | * | 533 | * |
534 | * 4: same as 3 plus dump extra junk | 534 | * 4: same as 3 |
535 | */ | 535 | */ |
536 | if (unlikely(scsi_logging_level)) { | 536 | if (unlikely(scsi_logging_level)) { |
537 | level = SCSI_LOG_LEVEL(SCSI_LOG_MLQUEUE_SHIFT, | 537 | level = SCSI_LOG_LEVEL(SCSI_LOG_MLQUEUE_SHIFT, |
@@ -540,13 +540,6 @@ void scsi_log_send(struct scsi_cmnd *cmd) | |||
540 | scmd_printk(KERN_INFO, cmd, | 540 | scmd_printk(KERN_INFO, cmd, |
541 | "Send: scmd 0x%p\n", cmd); | 541 | "Send: scmd 0x%p\n", cmd); |
542 | scsi_print_command(cmd); | 542 | scsi_print_command(cmd); |
543 | if (level > 3) { | ||
544 | printk(KERN_INFO "buffer = 0x%p, bufflen = %d," | ||
545 | " queuecommand 0x%p\n", | ||
546 | scsi_sglist(cmd), scsi_bufflen(cmd), | ||
547 | cmd->device->host->hostt->queuecommand); | ||
548 | |||
549 | } | ||
550 | } | 543 | } |
551 | } | 544 | } |
552 | } | 545 | } |
@@ -572,7 +565,7 @@ void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) | |||
572 | SCSI_LOG_MLCOMPLETE_BITS); | 565 | SCSI_LOG_MLCOMPLETE_BITS); |
573 | if (((level > 0) && (cmd->result || disposition != SUCCESS)) || | 566 | if (((level > 0) && (cmd->result || disposition != SUCCESS)) || |
574 | (level > 1)) { | 567 | (level > 1)) { |
575 | scsi_print_result(cmd, "Done: ", disposition); | 568 | scsi_print_result(cmd, "Done", disposition); |
576 | scsi_print_command(cmd); | 569 | scsi_print_command(cmd); |
577 | if (status_byte(cmd->result) & CHECK_CONDITION) | 570 | if (status_byte(cmd->result) & CHECK_CONDITION) |
578 | scsi_print_sense(cmd); | 571 | scsi_print_sense(cmd); |