Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: et131x: Remove unused spinlock

phy_lock is no longer used in any useful code, it's all been moved into
a phy_device. Remove the lock definition and init.

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

authored by

Mark Einon and committed by
Greg Kroah-Hartman
4d2420b4 8f90ef80

-3
-3
drivers/staging/et131x/et131x.c
··· 496 496 spinlock_t rcv_pend_lock; 497 497 spinlock_t fbr_lock; 498 498 499 - spinlock_t phy_lock; 500 - 501 499 /* Packet Filter and look ahead size */ 502 500 u32 packet_filter; 503 501 ··· 3926 3928 spin_lock_init(&adapter->rcv_lock); 3927 3929 spin_lock_init(&adapter->rcv_pend_lock); 3928 3930 spin_lock_init(&adapter->fbr_lock); 3929 - spin_lock_init(&adapter->phy_lock); 3930 3931 3931 3932 adapter->registry_jumbo_packet = 1514; /* 1514-9216 */ 3932 3933