diff options
author | Wang Chen | 2007-12-11 11:28:03 +0100 |
---|---|---|
committer | David S. Miller | 2007-12-11 11:45:32 +0100 |
commit | d59b54b150b3b69b721f1e161efd42ecb7619897 (patch) | |
tree | 04be0d418ac06d1c658e16fc4e2527d5e48fb6d7 /net/core/dev.c | |
parent | [BNX2]: Update version to 1.6.9. (diff) | |
download | kernel-qcow2-linux-d59b54b150b3b69b721f1e161efd42ecb7619897.tar.gz kernel-qcow2-linux-d59b54b150b3b69b721f1e161efd42ecb7619897.tar.xz kernel-qcow2-linux-d59b54b150b3b69b721f1e161efd42ecb7619897.zip |
[NET]: Fix wrong comments for unregister_net*
There are some return value comments for void functions.
Fixed it.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 86d62611f2fc..26a3a3a15be0 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3972,8 +3972,7 @@ void synchronize_net(void) * @dev: device * * This function shuts down a device interface and removes it - * from the kernel tables. On success 0 is returned, on a failure - * a negative errno code is returned. + * from the kernel tables. * * Callers must hold the rtnl semaphore. You may want * unregister_netdev() instead of this. @@ -3991,8 +3990,7 @@ void unregister_netdevice(struct net_device *dev) * @dev: device * * This function shuts down a device interface and removes it - * from the kernel tables. On success 0 is returned, on a failure - * a negative errno code is returned. + * from the kernel tables. * * This is just a wrapper for unregister_netdevice that takes * the rtnl semaphore. In general you want to use this and not |