From: Wang Chen Date: Tue, 11 Dec 2007 10:28:03 +0000 (-0800) Subject: [NET]: Fix wrong comments for unregister_net* X-Git-Tag: accepted/tizen/common/20141203.182822~25875 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d59b54b150b3b69b721f1e161efd42ecb7619897;p=platform%2Fkernel%2Flinux-arm64.git [NET]: Fix wrong comments for unregister_net* There are some return value comments for void functions. Fixed it. Signed-off-by: Wang Chen Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 86d6261..26a3a3a 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