Skip to content

Commit

Permalink
ethoc: remove unused spinlock
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jonas Bonn authored and David S. Miller committed Nov 28, 2010
1 parent e0f4258 commit eac0d3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ MODULE_PARM_DESC(buffer_size, "DMA buffer allocation size");
* @netdev: pointer to network device structure
* @napi: NAPI structure
* @msg_enable: device state flags
* @rx_lock: receive lock
* @lock: device lock
* @phy: attached PHY
* @mdio: MDIO bus for PHY access
Expand All @@ -210,7 +209,6 @@ struct ethoc {
struct napi_struct napi;
u32 msg_enable;

spinlock_t rx_lock;
spinlock_t lock;

struct phy_device *phy;
Expand Down Expand Up @@ -1060,7 +1058,6 @@ static int __devinit ethoc_probe(struct platform_device *pdev)
/* setup NAPI */
netif_napi_add(netdev, &priv->napi, ethoc_poll, 64);

spin_lock_init(&priv->rx_lock);
spin_lock_init(&priv->lock);

ret = register_netdev(netdev);
Expand Down

0 comments on commit eac0d3f

Please sign in to comment.