diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-24 12:26:42 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 10:15:56 (GMT) |
commit | ad3819c09b55f9edb145f1d367678403666d857a (patch) | |
tree | 0b01c62921f2724bdbd2c1148bb9b447d1219c83 | |
parent | 639ae4d0337ce5bc6f5f6921ecb144841b617c26 (diff) | |
download | linux-ad3819c09b55f9edb145f1d367678403666d857a.tar.xz |
sd: remove scsi_print_sense() in sd_done()
sd_done() was calling scsi_print_sense() for a sense code
of 'NO_SENSE'.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/sd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index cfba74c..52b40b1 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1743,7 +1743,6 @@ static int sd_done(struct scsi_cmnd *SCpnt) * unknown amount of data was transferred so treat it as an * error. */ - scsi_print_sense("sd", SCpnt); SCpnt->result = 0; memset(SCpnt->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); break; |