]> Pileus Git - ~andy/linux/commit
greth: Remove unnecessary memset of napi member in netdev private data
authorTobias Klauser <tklauser@distanz.ch>
Thu, 3 Jun 2010 20:24:21 +0000 (20:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2010 08:08:11 +0000 (01:08 -0700)
commitfa6ca57113c2fd2d86dd854e0bc5e18b9786282b
tree31778a23f379c2f0bf0fa4cabe3fe46fa812132e
parent1789a640f55658d9a54c1868cc3405e4d85dbd8e
greth: Remove unnecessary memset of napi member in netdev private data

The memory for the private data is allocated using kzalloc in
alloc_etherdev (or alloc_netdev_mq respectively) so there is no need to
set the napi member to 0 explicitely.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c