net: dsa: remove the dst->ds array
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 31 Oct 2019 02:09:16 +0000 (22:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 21:26:38 +0000 (14:26 -0700)
commit9c8ad1ab66b577526a4c89e4a222e0fac431a2d6
tree5d56e482bcdfdb0af3fbeb5735a554f41cd833c5
parent3774ecdb8ca201af770288d57997dbf6445eb3c8
net: dsa: remove the dst->ds array

Now that the DSA ports are listed in the switch fabric, there is
no need to store the dsa_switch structures from the drivers in the
fabric anymore. So get rid of the dst->ds static array.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa2.c