aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/dsa/qca8k.h
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2022-04-16 01:30:15 +0200
committerDavid S. Miller <davem@davemloft.net>2022-04-17 13:28:29 +0100
commit2349b83a2486c55b9dd225326f0172a84a43c5e4 (patch)
tree507b3b7bde984f23489961459e472089da91d52b /drivers/net/dsa/qca8k.h
parentnet: dsa: qca8k: rework and simplify mdiobus logic (diff)
downloadwireguard-linux-2349b83a2486c55b9dd225326f0172a84a43c5e4.tar.xz
wireguard-linux-2349b83a2486c55b9dd225326f0172a84a43c5e4.zip
net: dsa: qca8k: drop dsa_switch_ops from qca8k_priv
Now that dsa_switch_ops is not switch specific anymore, we can drop it from qca8k_priv and use the static ops directly for the dsa_switch pointer. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.h')
-rw-r--r--drivers/net/dsa/qca8k.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.h b/drivers/net/dsa/qca8k.h
index 8bbe36f135b5..04408e11402a 100644
--- a/drivers/net/dsa/qca8k.h
+++ b/drivers/net/dsa/qca8k.h
@@ -394,7 +394,6 @@ struct qca8k_priv {
struct dsa_switch *ds;
struct mutex reg_mutex;
struct device *dev;
- struct dsa_switch_ops ops;
struct gpio_desc *reset_gpio;
struct net_device *mgmt_master; /* Track if mdio/mib Ethernet is available */
struct qca8k_mgmt_eth_data mgmt_eth_data;