summaryrefslogtreecommitdiff
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-10-26 18:22:59 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-27 18:00:09 +0300
commit5749f0f3772b9d98f37e3a92539f49fafaa64eca (patch)
treead4d849b5d26b0745930361f7d22f2f47e66b205 /include/net/dsa.h
parentc38c5a66506e4e8223fd03e950b1bde99190701e (diff)
downloadlinux-5749f0f3772b9d98f37e3a92539f49fafaa64eca.tar.xz
net: dsa: remove port masks
Now that DSA core provides port types, there is no need to keep this information at the switch level. This is a static information that is part of a DSA core dsa_port structure. Remove them. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 07dfbd7f4fd5..50e276dc4c01 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -240,9 +240,6 @@ struct dsa_switch {
/*
* Slave mii_bus and devices for the individual ports.
*/
- u32 dsa_port_mask;
- u32 cpu_port_mask;
- u32 enabled_port_mask;
u32 phys_mii_mask;
struct mii_bus *slave_mii_bus;