aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2023-07-26 22:37:15 +0800
committerJakub Kicinski <kuba@kernel.org>2023-07-27 17:17:28 -0700
commitd0358c1a37db4c46b9a1cd6c1b36e5a24ff970f9 (patch)
tree2f1bbb9a138ebae540a6816629f0b9597fa86e18 /include/linux/netdevice.h
parentd4a80cc69aea74fe220dc9faa0d6d62e4dfa871a (diff)
downloadlinux-d0358c1a37db4c46b9a1cd6c1b36e5a24ff970f9.tar.gz
net: Remove unused declaration dev_restart()
This is not used, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230726143715.24700-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 11652e464f5dfb..32a4cdf37dd470 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3130,8 +3130,6 @@ struct net_device *netdev_get_by_name(struct net *net, const char *name,
netdevice_tracker *tracker, gfp_t gfp);
struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex);
struct net_device *dev_get_by_napi_id(unsigned int napi_id);
-int dev_restart(struct net_device *dev);
-
static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev,
unsigned short type,