]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
netconsole: do not release spin_lock when calling __netpoll_cleanup
authorAmerigo Wang <amwang@redhat.com>
Fri, 10 Aug 2012 01:24:39 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 21:33:31 +0000 (14:33 -0700)
commit3335f0ca130c201f8680e97f63612053fbc16e22
tree9e4b8cb06bd0d80be0ec6bd29f3e27ae63863f35
parent38e6bc185d9544dfad1774b3f8902a0b061aea25
netconsole: do not release spin_lock when calling __netpoll_cleanup

With the previous patch applied, __netpoll_cleanup() is non-block now,
so we don't need to release the spin_lock before calling it.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c