[NETNS]: init dev_base_lock only once
authorAlexey Dobriyan <adobriyan@sw.ru>
Sun, 11 Nov 2007 06:09:25 +0000 (22:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 06:09:25 +0000 (22:09 -0800)
commit33d36bb83c5b566c98a441e791736e25dbc35fc3
treee6164afa9f5a24636fc152453ef8abbd02c1fe66
parent284b327be2f86cf751316ff344b6945e580e654f
[NETNS]: init dev_base_lock only once

* it already statically initialized
* reinitializing live global spinlock every time netns is
  setup is also wrong

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c