aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fs_enet
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fs_enet')
-rw-r--r--drivers/net/fs_enet/fs_enet-main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index 5dc89d507e66..2812b524edae 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -956,7 +956,6 @@ static struct net_device *fs_init_instance(struct device *dev,
956 SET_MODULE_OWNER(ndev); 956 SET_MODULE_OWNER(ndev);
957 957
958 fep = netdev_priv(ndev); 958 fep = netdev_priv(ndev);
959 memset(fep, 0, privsize); /* clear everything */
960 959
961 fep->dev = dev; 960 fep->dev = dev;
962 dev_set_drvdata(dev, ndev); 961 dev_set_drvdata(dev, ndev);