]> err.no Git - linux-2.6/commit
[PATCH] libata: trivial updates to ata_sg_init_one()
authorTejun Heo <htejun@gmail.com>
Tue, 14 Nov 2006 13:35:43 +0000 (22:35 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:45:57 +0000 (22:45 -0500)
commit61c0596c5fbef99df5518ae449be4ab49a2c2233
treef9adba2444b07c54bb4561f6b8b85e148f70657b
parent8a93758170a58b5afe3e45d7d5bebbdd401a24c2
[PATCH] libata: trivial updates to ata_sg_init_one()

There's no need to memset &qc->sgent manually, sg_init_one() clears
sgent inside it.  Also, kill not-so-necessary sg local variable.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c