chelsio: misc cleanups in sge
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 5 Dec 2006 22:57:41 +0000 (23:57 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:43 +0000 (16:58 -0500)
commit3e0f75be52605a901165fa1d8acf4ffd37a4857b
treebbd56ca63ae06900dc04dd35bdd3846284ed157d
parent47cbe6f47d854410d5c296098d87cf8151517c20
chelsio: misc cleanups in sge

- duplicated code in sge::free_cmdQ_buffers ;
- NET_IP_ALIGN is already defined in (included) <linux/skbuff.h> ;
- pci_alloc_consistent() returns void * ;
- pci_alloc_consistent() returns a zeroed chunk of memory ;
- early return in restart_tx_queues.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/chelsio/sge.c