Phonet: remove useless locking in device cleanup
authorremi.denis-courmont@nokia <remi.denis-courmont@nokia>
Fri, 23 Jan 2009 03:00:29 +0000 (03:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2009 05:03:35 +0000 (21:03 -0800)
commit6530e0fee1834fab51720769ac422186de2b3120
tree9ee1860c9625ee8b19ff99ea6df230bfb60dd392
parent660f706d931d4795d341805e083a8091af74fa88
Phonet: remove useless locking in device cleanup

Incoming packets and sockets are already gone.
The netdevice notifier is unregistered under the RTNL lock
There remains a race with the rtnetlink handlers unregistration, but it
is a generic RTNL issue that was already present before this change.

Signed-off-by: RĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pn_dev.c