projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639ae4d
)
sd: remove scsi_print_sense() in sd_done()
author
Hannes Reinecke
<hare@suse.de>
Fri, 24 Oct 2014 12:26:42 +0000
(14:26 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 12 Nov 2014 10:15:56 +0000
(11:15 +0100)
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>
drivers/scsi/sd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/sd.c
b/drivers/scsi/sd.c
index cfba74cd8e8b1754e8b1412c65a560a0451ff470..52b40b1e8c4521f29bafc841326cc84d53338697 100644
(file)
--- 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;