From: Mark Einon Date: Wed, 11 Sep 2013 13:14:44 +0000 (+0100) Subject: staging: et131x: Remove unused rcv_pend_lock spinlock X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e0349d5ba;p=deliverable%2Flinux.git staging: et131x: Remove unused rcv_pend_lock spinlock The rcv_pend_lock spinlock isn't used anymore. remove it. Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/Module.symvers b/drivers/staging/et131x/Module.symvers new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index 4c1eade105ad..a8f7cd774036 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -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 */