diff options
author | Jonas Bonn <jonas@southpole.se> | 2010-11-24 21:30:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 14:16:35 -0500 |
commit | eac0d3ff5a92de410964fdf0d072314821ca39fc (patch) | |
tree | 0647c07b550edd9427654fed8121b6b0ed844dba /drivers | |
parent | e0f4258be2515afce8ef1e6fb22312525c281798 (diff) |
ethoc: remove unused spinlock
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 9ea3c54e1a38..e9e712e0f92c 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c | |||
@@ -185,7 +185,6 @@ MODULE_PARM_DESC(buffer_size, "DMA buffer allocation size"); | |||
185 | * @netdev: pointer to network device structure | 185 | * @netdev: pointer to network device structure |
186 | * @napi: NAPI structure | 186 | * @napi: NAPI structure |
187 | * @msg_enable: device state flags | 187 | * @msg_enable: device state flags |
188 | * @rx_lock: receive lock | ||
189 | * @lock: device lock | 188 | * @lock: device lock |
190 | * @phy: attached PHY | 189 | * @phy: attached PHY |
191 | * @mdio: MDIO bus for PHY access | 190 | * @mdio: MDIO bus for PHY access |
@@ -210,7 +209,6 @@ struct ethoc { | |||
210 | struct napi_struct napi; | 209 | struct napi_struct napi; |
211 | u32 msg_enable; | 210 | u32 msg_enable; |
212 | 211 | ||
213 | spinlock_t rx_lock; | ||
214 | spinlock_t lock; | 212 | spinlock_t lock; |
215 | 213 | ||
216 | struct phy_device *phy; | 214 | struct phy_device *phy; |
@@ -1060,7 +1058,6 @@ static int __devinit ethoc_probe(struct platform_device *pdev) | |||
1060 | /* setup NAPI */ | 1058 | /* setup NAPI */ |
1061 | netif_napi_add(netdev, &priv->napi, ethoc_poll, 64); | 1059 | netif_napi_add(netdev, &priv->napi, ethoc_poll, 64); |
1062 | 1060 | ||
1063 | spin_lock_init(&priv->rx_lock); | ||
1064 | spin_lock_init(&priv->lock); | 1061 | spin_lock_init(&priv->lock); |
1065 | 1062 | ||
1066 | ret = register_netdev(netdev); | 1063 | ret = register_netdev(netdev); |