mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
c38c5a6650
commit
5749f0f377
3 changed files with 0 additions and 17 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue