summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-06-03 22:24:21 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-07 10:08:11 +0200
commitfa6ca57113c2fd2d86dd854e0bc5e18b9786282b (patch)
tree31778a23f379c2f0bf0fa4cabe3fe46fa812132e /net/sched/sch_htb.c
parentraw: avoid two atomics in xmit (diff)
downloadlinux-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