Commit eac0d3ff authored by Jonas Bonn's avatar Jonas Bonn Committed by David S. Miller

ethoc: remove unused spinlock

Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0f4258b
...@@ -185,7 +185,6 @@ MODULE_PARM_DESC(buffer_size, "DMA buffer allocation size"); ...@@ -185,7 +185,6 @@ MODULE_PARM_DESC(buffer_size, "DMA buffer allocation size");
* @netdev: pointer to network device structure * @netdev: pointer to network device structure
* @napi: NAPI structure * @napi: NAPI structure
* @msg_enable: device state flags * @msg_enable: device state flags
* @rx_lock: receive lock
* @lock: device lock * @lock: device lock
* @phy: attached PHY * @phy: attached PHY
* @mdio: MDIO bus for PHY access * @mdio: MDIO bus for PHY access
...@@ -210,7 +209,6 @@ struct ethoc { ...@@ -210,7 +209,6 @@ struct ethoc {
struct napi_struct napi; struct napi_struct napi;
u32 msg_enable; u32 msg_enable;
spinlock_t rx_lock;
spinlock_t lock; spinlock_t lock;
struct phy_device *phy; struct phy_device *phy;
...@@ -1060,7 +1058,6 @@ static int __devinit ethoc_probe(struct platform_device *pdev) ...@@ -1060,7 +1058,6 @@ static int __devinit ethoc_probe(struct platform_device *pdev)
/* setup NAPI */ /* setup NAPI */
netif_napi_add(netdev, &priv->napi, ethoc_poll, 64); netif_napi_add(netdev, &priv->napi, ethoc_poll, 64);
spin_lock_init(&priv->rx_lock);
spin_lock_init(&priv->lock); spin_lock_init(&priv->lock);
ret = register_netdev(netdev); ret = register_netdev(netdev);
......
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