aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorstephen hemminger <shemming@brocade.com>2013-12-13 15:35:56 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-17 15:14:04 -0500
commit477bb93320cec7ae74d5ccfad4f2bfa0b28fbe90 (patch)
treec9aad9574baba6c3988d496f766ed743ea32a5cf /include/linux/netdevice.h
parent6ea09d8a096487b6418364c3b501c228f1889121 (diff)
net: remove dead code for add/del multiple
These function to manipulate multiple addresses are not used anywhere in current net-next tree. Some out of tree code maybe using these but too bad; they should submit their code upstream.. Also, make __hw_addr_flush local since only used by dev_addr_lists.c Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 2c74d20dad34..a0dfcc8c002b 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2810,17 +2810,10 @@ int register_netdev(struct net_device *dev);
2810void unregister_netdev(struct net_device *dev); 2810void unregister_netdev(struct net_device *dev);
2811 2811
2812/* General hardware address lists handling functions */ 2812/* General hardware address lists handling functions */
2813int __hw_addr_add_multiple(struct netdev_hw_addr_list *to_list,
2814 struct netdev_hw_addr_list *from_list,
2815 int addr_len, unsigned char addr_type);
2816void __hw_addr_del_multiple(struct netdev_hw_addr_list *to_list,
2817 struct netdev_hw_addr_list *from_list,
2818 int addr_len, unsigned char addr_type);
2819int __hw_addr_sync(struct netdev_hw_addr_list *to_list, 2813int __hw_addr_sync(struct netdev_hw_addr_list *to_list,
2820 struct netdev_hw_addr_list *from_list, int addr_len); 2814 struct netdev_hw_addr_list *from_list, int addr_len);
2821void __hw_addr_unsync(struct netdev_hw_addr_list *to_list, 2815void __hw_addr_unsync(struct netdev_hw_addr_list *to_list,
2822 struct netdev_hw_addr_list *from_list, int addr_len); 2816 struct netdev_hw_addr_list *from_list, int addr_len);
2823void __hw_addr_flush(struct netdev_hw_addr_list *list);
2824void __hw_addr_init(struct netdev_hw_addr_list *list); 2817void __hw_addr_init(struct netdev_hw_addr_list *list);
2825 2818
2826/* Functions used for device addresses handling */ 2819/* Functions used for device addresses handling */
@@ -2828,10 +2821,6 @@ int dev_addr_add(struct net_device *dev, const unsigned char *addr,
2828 unsigned char addr_type); 2821 unsigned char addr_type);
2829int dev_addr_del(struct net_device *dev, const unsigned char *addr, 2822int dev_addr_del(struct net_device *dev, const unsigned char *addr,
2830 unsigned char addr_type); 2823 unsigned char addr_type);
2831int dev_addr_add_multiple(struct net_device *to_dev,
2832 struct net_device *from_dev, unsigned char addr_type);
2833int dev_addr_del_multiple(struct net_device *to_dev,
2834 struct net_device *from_dev, unsigned char addr_type);
2835void dev_addr_flush(struct net_device *dev); 2824void dev_addr_flush(struct net_device *dev);
2836int dev_addr_init(struct net_device *dev); 2825int dev_addr_init(struct net_device *dev);
2837 2826