diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 21:45:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-09 07:11:07 +0100 |
commit | 1f03f2609f3d76622389ae5b60a7c692a47bcc1b (patch) | |
tree | b47d2aa6587c14aa6927e04f012034738c0970e3 /drivers/net/dsa/bcm_sf2.c | |
parent | net: phy: consider latched link-down status in polling mode (diff) | |
download | linux-1f03f2609f3d76622389ae5b60a7c692a47bcc1b.tar.xz linux-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); |