net: remove unnecessary initializations in net_dev_init
authorSabrina Dubroca <sd@queasysnail.net>
Sat, 18 Jan 2014 18:19:27 +0000 (19:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 00:44:45 +0000 (16:44 -0800)
commitf14fe8a848cd67dfdb9a959ff3e1fa259878bec3
tree80666e9fca1cf5f90aaf7aa1ab567b13809c1def
parentead5139aa10d7df970f66a291bf450966ae7b748
net: remove unnecessary initializations in net_dev_init

softnet_data is already set to 0, no need to use memset or initialize
specific fields to 0 or NULL afterwards.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c