]> git.karo-electronics.de Git - linux-beck.git/commit
smc9194: Remove unnecessary memset of netdev private data
authorTobias Klauser <tklauser@distanz.ch>
Thu, 6 May 2010 05:41:31 +0000 (05:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 May 2010 05:10:39 +0000 (22:10 -0700)
commit627ad5951b5f26585ed11ac3afb2aa4a872aec23
treedaff3c911bc6571fe8246b13c92aebcebaf20081
parent8462d14e471fc5761e37d1b89282966a5b504468
smc9194: 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/smc9194.c