[PATCH 2/8] ethoc: remove unused spinlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonas Bonn
Date: Wednesday, November 24, 2010 - 6:40 am

Signed-off-by: Jonas Bonn <jonas@southpole.se>
---
 drivers/net/ethoc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index 6b4b9e1..fc8c044 100644
--- a/drivers/net/ethoc.c
+++ b/drivers/net/ethoc.c
@@ -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
@@ -210,7 +209,6 @@ struct ethoc {
 	struct napi_struct napi;
 	u32 msg_enable;
 
-	spinlock_t rx_lock;
 	spinlock_t lock;
 
 	struct phy_device *phy;
@@ -1061,7 +1059,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);
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ethoc driver updates, Jonas Bonn, (Wed Nov 24, 6:40 am)
[PATCH 1/8] ethoc: Add device tree configuration, Jonas Bonn, (Wed Nov 24, 6:40 am)
[PATCH 2/8] ethoc: remove unused spinlock, Jonas Bonn, (Wed Nov 24, 6:40 am)
[PATCH 5/8] ethoc: Double check pending RX packet, Jonas Bonn, (Wed Nov 24, 6:40 am)
[PATCH 6/8] ethoc: rework interrupt handling, Jonas Bonn, (Wed Nov 24, 6:40 am)
[PATCH 8/8] ethoc: fix function return type, Jonas Bonn, (Wed Nov 24, 6:40 am)
Re: [PATCH 3/8] ethoc: enable interrupts after napi_complete, Laurent Chavey, (Wed Nov 24, 11:45 am)
Re: [PATCH 3/8] ethoc: enable interrupts after napi_complete, Laurent Chavey, (Wed Nov 24, 12:33 pm)
Re: [PATCH 1/8] ethoc: Add device tree configuration, David Miller, (Wed Nov 24, 12:35 pm)
Re: [PATCH 5/8] ethoc: Double check pending RX packet, David Miller, (Wed Nov 24, 12:37 pm)
Re: [PATCH 6/8] ethoc: rework interrupt handling, David Miller, (Wed Nov 24, 12:38 pm)