diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-17 05:19:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 02:51:33 +0300 |
commit | 2492c205d2bbbc01f5c9e49fffe4b2e633c33f38 (patch) | |
tree | fccb50f9dfb3cf82f61fed79104e7fed3684d081 /include/linux/netdevice.h | |
parent | c2ec6bc010d2bbaa6a38fec8709890511f298e1c (diff) | |
download | linux-2492c205d2bbbc01f5c9e49fffe4b2e633c33f38.tar.xz |
netdev: Remove unused functions
There is no callers in tree, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 157e0242e9ee..909b1fbb0481 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -4677,16 +4677,6 @@ int netdev_class_create_file_ns(const struct class_attribute *class_attr, void netdev_class_remove_file_ns(const struct class_attribute *class_attr, const void *ns); -static inline int netdev_class_create_file(const struct class_attribute *class_attr) -{ - return netdev_class_create_file_ns(class_attr, NULL); -} - -static inline void netdev_class_remove_file(const struct class_attribute *class_attr) -{ - netdev_class_remove_file_ns(class_attr, NULL); -} - extern const struct kobj_ns_type_operations net_ns_type_operations; const char *netdev_drivername(const struct net_device *dev); |