commit | 4a5b85ffe2a001b52d165931ad05d2d620daca3c | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Oct 26 11:22:55 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 28 00:00:09 2017 +0900 |
tree | e36bcf74ffadedffa5dfc613bfd946e3245733c5 | |
parent | 2b3e9891cb607f7c7d5a4b11fb5a6e775e7f3ef4 [diff] |
net: dsa: use dsa_is_user_port everywhere Most of the DSA code still check ds->enabled_port_mask directly to inspect a given port type instead of using the provided dsa_is_user_port helper. Change this. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>