Commit 4d2420b4 authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

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: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f90ef80
...@@ -496,8 +496,6 @@ struct et131x_adapter { ...@@ -496,8 +496,6 @@ struct et131x_adapter {
spinlock_t rcv_pend_lock; spinlock_t rcv_pend_lock;
spinlock_t fbr_lock; spinlock_t fbr_lock;
spinlock_t phy_lock;
/* Packet Filter and look ahead size */ /* Packet Filter and look ahead size */
u32 packet_filter; u32 packet_filter;
...@@ -3928,7 +3926,6 @@ static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev, ...@@ -3928,7 +3926,6 @@ static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev,
spin_lock_init(&adapter->rcv_lock); spin_lock_init(&adapter->rcv_lock);
spin_lock_init(&adapter->rcv_pend_lock); spin_lock_init(&adapter->rcv_pend_lock);
spin_lock_init(&adapter->fbr_lock); spin_lock_init(&adapter->fbr_lock);
spin_lock_init(&adapter->phy_lock);
adapter->registry_jumbo_packet = 1514; /* 1514-9216 */ adapter->registry_jumbo_packet = 1514; /* 1514-9216 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment