aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/devinet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index affea9b121fc..e7f2b022316e 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -203,8 +203,6 @@ static void inetdev_destroy(struct in_device *in_dev)
203 ASSERT_RTNL(); 203 ASSERT_RTNL();
204 204
205 dev = in_dev->dev; 205 dev = in_dev->dev;
206 if (dev == loopback_dev)
207 return;
208 206
209 in_dev->dead = 1; 207 in_dev->dead = 1;
210 208