[SCSI] hide EH backup data outside the scsi_cmnd
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / scsi / sd.c
index 3225d31449e1167e818e879f9e9a7cf3fddc9f7e..98bd3aab9739114f6b4dd1a538928856929fe7a5 100644 (file)
@@ -502,8 +502,7 @@ static int sd_init_command(struct scsi_cmnd * SCpnt)
                SCpnt->cmnd[4] = (unsigned char) this_count;
                SCpnt->cmnd[5] = 0;
        }
-       SCpnt->request_bufflen = SCpnt->bufflen =
-                       this_count * sdp->sector_size;
+       SCpnt->request_bufflen = this_count * sdp->sector_size;
 
        /*
         * We shouldn't disconnect in the middle of a sector, so with a dumb