summaryrefslogtreecommitdiff
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2019-06-14 13:49:19 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-14 20:20:07 -0700
commit14aafbd822333684f6595fb492f05eb054354a72 (patch)
tree4e50ba1294406535d731e85ca3045b942eca411f /include/net/dsa.h
parent5a1c492b00aa990825a4b035804a81511107698c (diff)
downloadlwn-14aafbd822333684f6595fb492f05eb054354a72.tar.gz
lwn-14aafbd822333684f6595fb492f05eb054354a72.zip
net: dsa: do not check orig_dev in vlan del
The current DSA code handling switchdev objects does not recurse into the lower devices thus is never called with an orig_dev member being a bridge device, hence remove this useless check. At the same time, remove the comments about the callers, which is unlikely to be updated if the code changes and thus will be confusing. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.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