]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
s390_net: Kill directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Sun, 7 Dec 2008 07:57:49 +0000 (23:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Dec 2008 07:57:49 +0000 (23:57 -0800)
commitad660e2f97e7dc9d0f5627456b37e64bde714a5e
tree065833520144d95ffe944cb135ba21ec6fcf7182
parent26aca5ec9e587562ac0f8c5b67d02567d7bf2ffe
s390_net: Kill directly reference of netdev->priv

The private data comes from ccwgroup_device.
So just don't allocate private data memory when do alloc_netdev()
and use netdev->ml_priv to reference private data.

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