Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

YueHaibing and committed by
Jakub Kicinski
d0358c1a d4a80cc6

-2
-2
include/linux/netdevice.h
··· 3130 3130 netdevice_tracker *tracker, gfp_t gfp); 3131 3131 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); 3132 3132 struct net_device *dev_get_by_napi_id(unsigned int napi_id); 3133 - int dev_restart(struct net_device *dev); 3134 - 3135 3133 3136 3134 static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev, 3137 3135 unsigned short type,