diff options
| author | Vladimir Oltean <[email protected]> | 2021-07-31 01:57:14 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-02 15:06:55 +0100 |
| commit | 244f8a802911f8c36e035641198b60acb617004e (patch) | |
| tree | 6dd3fc9bb2155556ce4be2ff178ceb3a00fcb8d0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a3280efd009e6bbfdefd65834af57ba0da4ac8dc (diff) | |
net: dsa: mt7530: drop paranoid checks in .get_tag_protocol()
It is desirable to reduce the surface of DSA_TAG_PROTO_NONE as much as
we can, because we now have options for switches without hardware
support for DSA tagging, and the occurrence in the mt7530 driver is in
fact quite gratuitout and easy to remove. Since ds->ops->get_tag_protocol()
is only called for CPU ports, the checks for a CPU port in
mtk_get_tag_protocol() are redundant and can be removed.
Signed-off-by: Vladimir Oltean <[email protected]>
Acked-by: DENG Qingfang <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions