Commit 9460c936 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

net: bcmgenet: remove unused spinlock member

The spinlock cookie in bcmgenet_priv is never used, get rid of it.
Signed-off-by: default avatarFlorian Fainelli <>
Signed-off-by: default avatarDavid S. Miller <>
parent 3907c432
...@@ -2498,7 +2498,6 @@ static int bcmgenet_probe(struct platform_device *pdev) ...@@ -2498,7 +2498,6 @@ static int bcmgenet_probe(struct platform_device *pdev)
bcmgenet_set_hw_params(priv); bcmgenet_set_hw_params(priv);
/* Mii wait queue */ /* Mii wait queue */
init_waitqueue_head(&priv->wq); init_waitqueue_head(&priv->wq);
/* Always use RX_BUF_LENGTH (2KB) buffer for all chips */ /* Always use RX_BUF_LENGTH (2KB) buffer for all chips */
...@@ -523,7 +523,6 @@ struct bcmgenet_priv { ...@@ -523,7 +523,6 @@ struct bcmgenet_priv {
void __iomem *base; void __iomem *base;
enum bcmgenet_version version; enum bcmgenet_version version;
struct net_device *dev; struct net_device *dev;
spinlock_t lock;
u32 int0_mask; u32 int0_mask;
u32 int1_mask; u32 int1_mask;
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