diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2007-02-07 03:09:58 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-08 15:39:06 -0500 |
commit | 22f8cde5bc336fd19603bb8c4572b33d14f14f87 (patch) | |
tree | 7a566269b9d294a1a90e8368a005e1b3fbc5e984 /include/linux/netdevice.h | |
parent | f48d5ff1e44562a0ee87ce8ea3b798ce9d84370d (diff) |
[NET]: unregister_netdevice as void
There was no real useful information from the unregister_netdevice() return
code, the only error occurred in a situation that was a driver bug. So
change it to a void function.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 2e37f5012788..1a528548cd1d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -589,7 +589,7 @@ extern int dev_open(struct net_device *dev); | |||
589 | extern int dev_close(struct net_device *dev); | 589 | extern int dev_close(struct net_device *dev); |
590 | extern int dev_queue_xmit(struct sk_buff *skb); | 590 | extern int dev_queue_xmit(struct sk_buff *skb); |
591 | extern int register_netdevice(struct net_device *dev); | 591 | extern int register_netdevice(struct net_device *dev); |
592 | extern int unregister_netdevice(struct net_device *dev); | 592 | extern void unregister_netdevice(struct net_device *dev); |
593 | extern void free_netdev(struct net_device *dev); | 593 | extern void free_netdev(struct net_device *dev); |
594 | extern void synchronize_net(void); | 594 | extern void synchronize_net(void); |
595 | extern int register_netdevice_notifier(struct notifier_block *nb); | 595 | extern int register_netdevice_notifier(struct notifier_block *nb); |