staging: et131x: remove spinlock adapter->lock
authorZhao, Gang <gamerh2o@gmail.com>
Wed, 5 Feb 2014 16:10:35 +0000 (00:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:38:41 +0000 (10:38 -0800)
commit0b15862d46fd630e2550bd215307235e62fb756b
tree9dd9dcef2122d8f2f191029caa24f2c9cd821962
parenta863a15bf24ae025ec8c3d6b23600fd6cdd94edf
staging: et131x: remove spinlock adapter->lock

adapter->lock is only used in et131x_multicast(), which is eventually
called by network stack function __dev_set_rx_mode(). __dev_set_rx_mode()
is always called by (net_device *)dev->addr_list_lock hold, to protect from
concurrent access. So adapter->lock is redundant.

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