diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 12:45:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-08 22:11:07 -0800 |
commit | 1f03f2609f3d76622389ae5b60a7c692a47bcc1b (patch) | |
tree | b47d2aa6587c14aa6927e04f012034738c0970e3 /drivers/net/dsa/bcm_sf2.c | |
parent | 93c0970493c71f264e6c3c7caf1ff24a9e1de786 (diff) | |
download | linux-stable-1f03f2609f3d76622389ae5b60a7c692a47bcc1b.tar.gz linux-stable-1f03f2609f3d76622389ae5b60a7c692a47bcc1b.tar.bz2 linux-stable-1f03f2609f3d76622389ae5b60a7c692a47bcc1b.zip |
net: dsa: bcm_sf2: Remove stats mutex
We no longer need a dedicated statistics mutex since we leverage
b53_common for statistics now.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
-rw-r--r-- | drivers/net/dsa/bcm_sf2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index 361fbde76654..a97b18595be9 100644 --- a/drivers/net/dsa/bcm_sf2.c +++ b/drivers/net/dsa/bcm_sf2.c @@ -1062,7 +1062,6 @@ static int bcm_sf2_sw_probe(struct platform_device *pdev) dev_set_drvdata(&pdev->dev, priv); spin_lock_init(&priv->indir_lock); - mutex_init(&priv->stats_mutex); mutex_init(&priv->cfp.lock); INIT_LIST_HEAD(&priv->cfp.rules_list); |