aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/sd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 55e6ed4b886d..7e22aa7b8b8a 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1084,15 +1084,6 @@ static int sd_done(struct scsi_cmnd *SCpnt)
1084 scsi_print_sense("sd", SCpnt); 1084 scsi_print_sense("sd", SCpnt);
1085 good_bytes = sd_completed_bytes(SCpnt); 1085 good_bytes = sd_completed_bytes(SCpnt);
1086 } 1086 }
1087 if (!scsi_device_protection(SCpnt->device) &&
1088 SCpnt->device->use_10_for_rw &&
1089 (SCpnt->cmnd[0] == READ_10 ||
1090 SCpnt->cmnd[0] == WRITE_10))
1091 SCpnt->device->use_10_for_rw = 0;
1092 if (SCpnt->device->use_10_for_ms &&
1093 (SCpnt->cmnd[0] == MODE_SENSE_10 ||
1094 SCpnt->cmnd[0] == MODE_SELECT_10))
1095 SCpnt->device->use_10_for_ms = 0;
1096 break; 1087 break;
1097 default: 1088 default:
1098 break; 1089 break;