summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVivien Didelot2017-09-29 23:19:17 +0200
committerDavid S. Miller2017-10-01 05:15:07 +0200
commit62fc95876298987c35e9fb10badd467f4787aae7 (patch)
treea9802fa9effede83c7ca5070ffa0446ec59ce814 /include/net/dsa.h
parentnet: dsa: use cpu_dp in master code (diff)
downloadkernel-qcow2-linux-62fc95876298987c35e9fb10badd467f4787aae7.tar.gz
kernel-qcow2-linux-62fc95876298987c35e9fb10badd467f4787aae7.tar.xz
kernel-qcow2-linux-62fc95876298987c35e9fb10badd467f4787aae7.zip
net: dsa: use temporary dsa_device_ops variable
When resolving the DSA tagging protocol used by a CPU switch, use a temporary "tag_ops" variable to store the dsa_device_ops instead of using directly dst->tag_ops. This will make the future patches moving this pointer around easier to read. There is no functional changes. 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>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions