[PATCH] NET: Fix wrong comments for unregister_net* There are some return value comments for void functions. Fixed it.
Signed-off-by: Wang Chen <[EMAIL PROTECTED]> --- dev.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) --- linux-2.6.24.rc4.org/net/core/dev.c 2007-12-11 16:40:36.000000000 +0800 +++ linux-2.6.24.rc4/net/core/dev.c 2007-12-11 16:42:40.000000000 +0800 @@ -3959,8 +3959,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. @@ -3978,8 +3977,7 @@ void unregister_netdevice(struct net_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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html