commit | fa6ca57113c2fd2d86dd854e0bc5e18b9786282b | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Jun 03 20:24:21 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 07 01:08:11 2010 -0700 |
tree | 31778a23f379c2f0bf0fa4cabe3fe46fa812132e | |
parent | 1789a640f55658d9a54c1868cc3405e4d85dbd8e [diff] |
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>