netdevice chelsio: Convert directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Mon, 17 Nov 2008 07:06:39 +0000 (23:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Nov 2008 07:06:39 +0000 (23:06 -0800)
commitc3ccc12339afa2633c72131e2aa97d52d9ca1b8a
treee1ec7df7b1ce240a8c6a8e3029d0831952490005
parent4d24b52ac5085ef8a264d044f1b302b7c029887a
netdevice chelsio: Convert directly reference of netdev->priv

Several netdev share one adapter here.
We use netdev->ml_priv of the netdevs point to the first netdev's priv.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/chelsio/cxgb2.c
drivers/net/chelsio/sge.c