lkml.org 
[lkml]   [2023]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH net-next] net: Remove unused declaration dev_restart()
Date
This is not used, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/netdevice.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 11652e464f5d..32a4cdf37dd4 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,
--
2.34.1
\
 
 \ /
  Last update: 2023-07-26 16:38    [W:0.049 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site