diff options
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index aeab5d9dff27..3fcb64b91c43 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -1051,12 +1051,6 @@ static int sd_done(struct scsi_cmnd *SCpnt) | |||
1051 | good_bytes = sd_completed_bytes(SCpnt); | 1051 | good_bytes = sd_completed_bytes(SCpnt); |
1052 | break; | 1052 | break; |
1053 | case RECOVERED_ERROR: | 1053 | case RECOVERED_ERROR: |
1054 | /* Inform the user, but make sure that it's not treated | ||
1055 | * as a hard error. | ||
1056 | */ | ||
1057 | scsi_print_sense("sd", SCpnt); | ||
1058 | SCpnt->result = 0; | ||
1059 | memset(SCpnt->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); | ||
1060 | good_bytes = scsi_bufflen(SCpnt); | 1054 | good_bytes = scsi_bufflen(SCpnt); |
1061 | break; | 1055 | break; |
1062 | case NO_SENSE: | 1056 | case NO_SENSE: |