diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-10 11:49:09 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:55:52 +0200 |
commit | 9b7726523523472ead660b1d45df29dcaf6cc5c0 (patch) | |
tree | 4f3ac1906c582ba2595941e5ca39b4cd21660ac6 /net/ipv6/addrconf.c | |
parent | [TCP]: Separate lost_retrans loop into own function (diff) | |
download | linux-9b7726523523472ead660b1d45df29dcaf6cc5c0.tar.xz linux-9b7726523523472ead660b1d45df29dcaf6cc5c0.zip |
[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>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions