diff options
author | Vladimir Oltean | 2019-06-08 14:04:30 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-09 00:20:39 +0200 |
commit | 070ca3bb95e2cd3add9b521251774ec5dd1c544d (patch) | |
tree | 4dbb3e4e79f1ce5885b89e336b826b9d28f8e3e5 /usr | |
parent | net: dsa: tag_8021q: Create helper function for removing VLAN header (diff) | |
download | kernel-qcow2-linux-070ca3bb95e2cd3add9b521251774ec5dd1c544d.tar.gz kernel-qcow2-linux-070ca3bb95e2cd3add9b521251774ec5dd1c544d.tar.xz kernel-qcow2-linux-070ca3bb95e2cd3add9b521251774ec5dd1c544d.zip |
net: dsa: sja1105: Move sja1105_change_tpid into sja1105_vlan_filtering
This is a cosmetic patch, pre-cursor to making another change to the
General Parameters Table (incl_srcpt) which does not logically pertain
to the sja1105_change_tpid function name, but not putting it there would
otherwise create a need of resetting the switch twice.
So simply move the existing code into the .port_vlan_filtering callback,
where the incl_srcpt change will be added as well.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions