Commit 8e83b1e0 authored by Vivien Didelot's avatar Vivien Didelot Committed by Khasim Syed Mohammed
Browse files

UPSTREAM: 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: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit 62fc9587
https://github.com/torvalds/linux.git

)
Signed-off-by: default avatarKhasim Syed Mohammed <khasim.mohammed@linaro.org>
parent c74510a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment