commit | 9b7726523523472ead660b1d45df29dcaf6cc5c0 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Oct 10 02:49:09 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:55:52 2007 -0700 |
tree | 4f3ac1906c582ba2595941e5ca39b4cd21660ac6 | |
parent | 1c1e87edb9aa38b9e1ae807a6d88fcfd350a55c0 [diff] |
[NET]: Remove double dev->flags checking when calling dev_close() The unregister_netdevice() and dev_change_net_namespace() both check for dev->flags to be IFF_UP before calling the dev_close(), but the dev_close() checks for IFF_UP itself, so remove those unneeded checks. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>