X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fscsi%2Fsd.c;h=0410e1bf109a126726cce9356fd3f51c159e1871;hp=bb8235598787da5b174196bd2fa453cb5cb7c6d1;hb=33ac02aa4cef417871e128ab4a6565e751e5f3b2;hpb=7ca6448dbfb398bba36eda3c01bc14b86c3675be diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index bb8235598787..0410e1bf109a 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -373,9 +373,6 @@ static int sd_init_command(struct scsi_cmnd * SCpnt) SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; SCpnt->cmnd[8] = (unsigned char) this_count & 0xff; } else { - if (this_count > 0xff) - this_count = 0xff; - SCpnt->cmnd[1] |= (unsigned char) ((block >> 16) & 0x1f); SCpnt->cmnd[2] = (unsigned char) ((block >> 8) & 0xff); SCpnt->cmnd[3] = (unsigned char) block & 0xff;