diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-24 14:26:42 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 11:15:56 +0100 |
commit | ad3819c09b55f9edb145f1d367678403666d857a (patch) | |
tree | 0b01c62921f2724bdbd2c1148bb9b447d1219c83 /drivers | |
parent | 639ae4d0337ce5bc6f5f6921ecb144841b617c26 (diff) | |
download | linux-ad3819c09b55f9edb145f1d367678403666d857a.tar.gz linux-ad3819c09b55f9edb145f1d367678403666d857a.tar.bz2 linux-ad3819c09b55f9edb145f1d367678403666d857a.zip |
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>
Diffstat (limited to 'drivers')
-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 cfba74cd8e8b..52b40b1e8c45 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; |