From: Eric W. Biederman Date: Thu, 27 Sep 2007 05:09:25 +0000 (-0700) Subject: [IPV4]: Remove unnecessary test for the loopback device from inetdev_destroy X-Git-Tag: v2.6.24-rc1~1454^2~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5967789dbc8aafdba5813fa8e8cfce3c90516f83;p=pandora-kernel.git [IPV4]: Remove unnecessary test for the loopback device from inetdev_destroy Currently we never call unregister_netdev for the loopback device so it is impossible for us to reach inetdev_destroy with the loopback device. So the test in inetdev_destroy is unnecessary. Further when testing with my network namespace patches removing unregistering the loopback device and calling inetdev_destroy works fine so there appears to be no reason for avoiding unregistering the loopback device. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed