diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-06-03 22:24:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-07 10:08:11 +0200 |
commit | fa6ca57113c2fd2d86dd854e0bc5e18b9786282b (patch) | |
tree | 31778a23f379c2f0bf0fa4cabe3fe46fa812132e /net/sched/sch_htb.c | |
parent | raw: avoid two atomics in xmit (diff) | |
download | linux-fa6ca57113c2fd2d86dd854e0bc5e18b9786282b.tar.xz linux-fa6ca57113c2fd2d86dd854e0bc5e18b9786282b.zip |
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>
Diffstat (limited to 'net/sched/sch_htb.c')
0 files changed, 0 insertions, 0 deletions