summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/bcm_sf2.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 23:45:57 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-09 09:11:07 +0300
commit1f03f2609f3d76622389ae5b60a7c692a47bcc1b (patch)
treeb47d2aa6587c14aa6927e04f012034738c0970e3 /drivers/net/dsa/bcm_sf2.h
parent93c0970493c71f264e6c3c7caf1ff24a9e1de786 (diff)
downloadlinux-1f03f2609f3d76622389ae5b60a7c692a47bcc1b.tar.xz
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.h')
-rw-r--r--drivers/net/dsa/bcm_sf2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/dsa/bcm_sf2.h b/drivers/net/dsa/bcm_sf2.h
index faaef320ec48..83e1d8001447 100644
--- a/drivers/net/dsa/bcm_sf2.h
+++ b/drivers/net/dsa/bcm_sf2.h
@@ -87,9 +87,6 @@ struct bcm_sf2_priv {
/* Backing b53_device */
struct b53_device *dev;
- /* Mutex protecting access to the MIB counters */
- struct mutex stats_mutex;
-
struct bcm_sf2_hw_params hw_params;
struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];