aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/ethtool.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c
index d08a0c7675bf..31b1eddc1b84 100644
--- a/net/core/ethtool.c
+++ b/net/core/ethtool.c
@@ -654,9 +654,6 @@ static int ethtool_reset(struct net_device *dev, char __user *useraddr)
654 if (copy_from_user(&reset, useraddr, sizeof(reset))) 654 if (copy_from_user(&reset, useraddr, sizeof(reset)))
655 return -EFAULT; 655 return -EFAULT;
656 656
657 /* Clear ethtool n-tuple list */
658 ethtool_ntuple_flush(dev);
659
660 ret = dev->ethtool_ops->reset(dev, &reset.data); 657 ret = dev->ethtool_ops->reset(dev, &reset.data);
661 if (ret) 658 if (ret)
662 return ret; 659 return ret;