diff options
-rw-r--r-- | drivers/scsi/ch.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 79e462feae0a..0045742fab7d 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -194,18 +194,10 @@ ch_do_scsi(scsi_changer *ch, unsigned char *cmd, int cmd_len, | |||
194 | 194 | ||
195 | retry: | 195 | retry: |
196 | errno = 0; | 196 | errno = 0; |
197 | if (debug) { | ||
198 | char logbuf[SCSI_LOG_BUFSIZE]; | ||
199 | |||
200 | __scsi_format_command(logbuf, sizeof(logbuf), cmd, cmd_len); | ||
201 | DPRINTK("command: %s", logbuf); | ||
202 | } | ||
203 | |||
204 | result = scsi_execute_req(ch->device, cmd, direction, buffer, | 197 | result = scsi_execute_req(ch->device, cmd, direction, buffer, |
205 | buflength, &sshdr, timeout * HZ, | 198 | buflength, &sshdr, timeout * HZ, |
206 | MAX_RETRIES, NULL); | 199 | MAX_RETRIES, NULL); |
207 | 200 | ||
208 | DPRINTK("result: 0x%x\n",result); | ||
209 | if (driver_byte(result) & DRIVER_SENSE) { | 201 | if (driver_byte(result) & DRIVER_SENSE) { |
210 | if (debug) | 202 | if (debug) |
211 | scsi_print_sense_hdr(ch->device, ch->name, &sshdr); | 203 | scsi_print_sense_hdr(ch->device, ch->name, &sshdr); |