Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133912
b: refs/heads/master
c: 6530e0f
h: refs/heads/master
v: v3
  • Loading branch information
remi.denis-courmont@nokia authored and David S. Miller committed Jan 27, 2009
1 parent 5eea6c2 commit 62c210d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 660f706d931d4795d341805e083a8091af74fa88
refs/heads/master: 6530e0fee1834fab51720769ac422186de2b3120
7 changes: 1 addition & 6 deletions trunk/net/phonet/pn_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,8 @@ void phonet_device_exit(void)
struct phonet_device *pnd, *n;

rtnl_unregister_all(PF_PHONET);
rtnl_lock();
spin_lock_bh(&pndevs.lock);
unregister_netdevice_notifier(&phonet_device_notifier);

list_for_each_entry_safe(pnd, n, &pndevs.list, list)
__phonet_device_free(pnd);

spin_unlock_bh(&pndevs.lock);
rtnl_unlock();
unregister_netdevice_notifier(&phonet_device_notifier);
}

0 comments on commit 62c210d

Please sign in to comment.