Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d59b54b1 authored by Wang Chen's avatar Wang Chen Committed by David S. Miller
Browse files

[NET]: Fix wrong comments for unregister_net*



There are some return value comments for void functions.
Fixed it.

Signed-off-by: default avatarWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bbe42974
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -3972,8 +3972,7 @@ void synchronize_net(void)
 *	@dev: device
 *	@dev: device
 *
 *
 *	This function shuts down a device interface and removes it
 *	This function shuts down a device interface and removes it
 *	from the kernel tables. On success 0 is returned, on a failure
 *	from the kernel tables.
 *	a negative errno code is returned.
 *
 *
 *	Callers must hold the rtnl semaphore.  You may want
 *	Callers must hold the rtnl semaphore.  You may want
 *	unregister_netdev() instead of this.
 *	unregister_netdev() instead of this.
@@ -3991,8 +3990,7 @@ void unregister_netdevice(struct net_device *dev)
 *	@dev: device
 *	@dev: device
 *
 *
 *	This function shuts down a device interface and removes it
 *	This function shuts down a device interface and removes it
 *	from the kernel tables. On success 0 is returned, on a failure
 *	from the kernel tables.
 *	a negative errno code is returned.
 *
 *
 *	This is just a wrapper for unregister_netdevice that takes
 *	This is just a wrapper for unregister_netdevice that takes
 *	the rtnl semaphore.  In general you want to use this and not
 *	the rtnl semaphore.  In general you want to use this and not