projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dedf61d
)
sata_promise: kill qc->nsect
author
Tejun Heo
<htejun@gmail.com>
Sat, 20 Jan 2007 04:12:46 +0000
(13:12 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 9 Feb 2007 22:39:34 +0000
(17:39 -0500)
Merge order left qc->nsect usage in sata_promise dangling. Kill it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_promise.c
b/drivers/ata/sata_promise.c
index 551644a948617c65a4d24c8dd5d8ee8751653aaf..32ae03e9081b913385ad6497203ba7f8a1c3739c 100644
(file)
--- a/
drivers/ata/sata_promise.c
+++ b/
drivers/ata/sata_promise.c
@@
-502,8
+502,6
@@
static void pdc_atapi_pkt(struct ata_queued_cmd *qc)
feature = PDC_FEATURE_ATAPI_PIO;
/* set byte counter register to real transfer byte count */
nbytes = qc->nbytes;
- if (!nbytes)
- nbytes = qc->nsect << 9;
if (nbytes > 0xffff)
nbytes = 0xffff;
} else {