]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Remove unnecessary memset of netdev private data
authorTobias Klauser <tklauser@distanz.ch>
Thu, 6 May 2010 05:41:44 +0000 (05:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 May 2010 05:10:40 +0000 (22:10 -0700)
commit448f9431c85c87bd3cfbc9473919a483f68a886f
tree6bdfa8c532aebfd24542277aab299acafeb40d99
parentd0881b46ea11cd05c3ae780edfeb28d5a0fc4c8b
sunhme: Remove unnecessary memset of 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 it to 0 again.

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