[NET]: Remove double dev->flags checking when calling dev_close()
authorPavel Emelyanov <xemul@openvz.org>
Wed, 10 Oct 2007 09:49:09 +0000 (02:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:52 +0000 (16:55 -0700)
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>

No differences found