]> git.karo-electronics.de Git - linux-beck.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)
commitbacb71edb48050b46244a66ec8d49c55a89eec34
tree36dd2f142585f3103e5a03e6f4e210ef9069fc9b
parent82d95799d89b0cb3ad4c15c60e2c19862cb3a459
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