]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: Fix wrong comments for unregister_net*
authorWang Chen <wangchen@cn.fujitsu.com>
Tue, 11 Dec 2007 10:28:03 +0000 (02:28 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 11 Dec 2007 10:45:32 +0000 (02:45 -0800)
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>
net/core/dev.c

index 86d62611f2fcc4583f2eaf9a40d600718944ad97..26a3a3a15be063564c95addc815b64457860c585 100644 (file)
@@ -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