diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-03-20 17:53:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-20 21:36:12 (GMT) |
commit | 9460c936794fbcf82623e263926b17334ca5887a (patch) | |
tree | babc77b7c1344a748abd7449ac7fcdfd9b23843e /drivers/net/ethernet/broadcom/genet/bcmgenet.c | |
parent | 3907c432cb7e1f1e9143e8ac97e4b9a4c3f153bc (diff) | |
download | linux-9460c936794fbcf82623e263926b17334ca5887a.tar.xz |
net: bcmgenet: remove unused spinlock member
The spinlock cookie in bcmgenet_priv is never used, get rid of it.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet/bcmgenet.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 72ce6e8..e836c4c 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -2498,7 +2498,6 @@ static int bcmgenet_probe(struct platform_device *pdev) bcmgenet_set_hw_params(priv); - spin_lock_init(&priv->lock); /* Mii wait queue */ init_waitqueue_head(&priv->wq); /* Always use RX_BUF_LENGTH (2KB) buffer for all chips */ |