net: dsa: suppress device links to LAG DSA masters
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 11 Sep 2022 01:07:02 +0000 (04:07 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 20 Sep 2022 08:32:36 +0000 (10:32 +0200)
commit13eccc1bbb2e98df5d616398cd9215d9edab522f
tree85dc7d139ef26a424b8d2ce975b3cc8172518d83
parentcfeb84a52fcbdb12c7364c2cab4529c5c5558c35
net: dsa: suppress device links to LAG DSA masters

These don't work (print a harmless error about the operation failing)
and make little sense to have anyway, because when a LAG DSA master goes
away, we will introduce logic to move our CPU port back to the first
physical DSA master. So suppress these device links in preparation for
adding support for LAG DSA masters.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/dsa/master.c