ethoc: Remove unnecessary memset of napi member in netdev private data
commit8462d14e471fc5761e37d1b89282966a5b504468
authorTobias Klauser <tklauser@distanz.ch>
Thu, 6 May 2010 05:41:12 +0000 (6 05:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 May 2010 05:10:38 +0000 (6 22:10 -0700)
treecf132682143e276c607f3b72bf114f364d17f86c
parent079ceb44e9b3432fb8e8f7d08207faae69407c89
ethoc: 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 it to 0 explicitely.

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