Skip to content

Commit

Permalink
staging: et131x: Remove unused spinlock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Sep 17, 2013
1 parent 8f90ef8 commit 4d2420b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,6 @@ struct et131x_adapter {
spinlock_t rcv_pend_lock;
spinlock_t fbr_lock;

spinlock_t phy_lock;

/* Packet Filter and look ahead size */
u32 packet_filter;

Expand Down Expand Up @@ -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_pend_lock);
spin_lock_init(&adapter->fbr_lock);
spin_lock_init(&adapter->phy_lock);

adapter->registry_jumbo_packet = 1514; /* 1514-9216 */

Expand Down

0 comments on commit 4d2420b

Please sign in to comment.