From: Pavel Emelyanov Date: Wed, 10 Oct 2007 09:49:09 +0000 (-0700) Subject: [NET]: Remove double dev->flags checking when calling dev_close() X-Git-Tag: v2.6.24-rc1~1454^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b7726523523472ead660b1d45df29dcaf6cc5c0;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed