]> git.baikalelectronics.ru Git - kernel.git/commit
staging: et131x: Remove send_hw_lock spinlock
authorMark Einon <mark.einon@gmail.com>
Sun, 14 Sep 2014 15:59:00 +0000 (16:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:04:52 +0000 (16:04 -0700)
commitdf00e6c60d8f3e07ffa94d5c9998a7963729cb84
tree36dd2f142585f3103e5a03e6f4e210ef9069fc9b
parenta0f80466d2a7d0839d1f3b367a17baeaff7c8b45
staging: et131x: Remove send_hw_lock spinlock

We don't need to use this lock - the tx path is protected by the
networking subsystem xmit_lock, so we don't also need it in
nic_send_packet().

The other use of this spinlock in et1310_enable_phy_coma() to protect
a low power flag makes no sense, so can just be removed.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c