staging: et131x: Remove unused rcv_pend_lock spinlock
authorMark Einon <mark.einon@gmail.com>
Wed, 11 Sep 2013 13:14:44 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:43 +0000 (07:47 -0700)
The rcv_pend_lock spinlock isn't used anymore. remove it.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/Module.symvers [new file with mode: 0644]
drivers/staging/et131x/et131x.c

diff --git a/drivers/staging/et131x/Module.symvers b/drivers/staging/et131x/Module.symvers
new file mode 100644 (file)
index 0000000..e69de29
index 4c1eade105ad164edd1fe9b6417f97d8ae5cb19a..a8f7cd77403695e7cae82fdf3fb612ba78d76f57 100644 (file)
@@ -493,7 +493,6 @@ struct et131x_adapter {
        spinlock_t send_hw_lock;
 
        spinlock_t rcv_lock;
-       spinlock_t rcv_pend_lock;
        spinlock_t fbr_lock;
 
        /* Packet Filter and look ahead size */
@@ -3924,7 +3923,6 @@ static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev,
        spin_lock_init(&adapter->tcb_ready_qlock);
        spin_lock_init(&adapter->send_hw_lock);
        spin_lock_init(&adapter->rcv_lock);
-       spin_lock_init(&adapter->rcv_pend_lock);
        spin_lock_init(&adapter->fbr_lock);
 
        adapter->registry_jumbo_packet = 1514;  /* 1514-9216 */