Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172037
b: refs/heads/master
c: 999b6d3
h: refs/heads/master
i:
  172035: 871c678
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Dec 2, 2009
1 parent cce443b commit 985087f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f875bae065334907796da12523f9df85c89f5712
refs/heads/master: 999b6d39abb4fc446f3465ca4e0a7ac747f49aec
8 changes: 0 additions & 8 deletions trunk/drivers/net/loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,7 @@ static __net_init int loopback_net_init(struct net *net)
return err;
}

static __net_exit void loopback_net_exit(struct net *net)
{
struct net_device *dev = net->loopback_dev;

unregister_netdev(dev);
}

/* Registered in net/core/dev.c */
struct pernet_operations __net_initdata loopback_net_ops = {
.init = loopback_net_init,
.exit = loopback_net_exit,
};

0 comments on commit 985087f

Please sign in to comment.