net: dsa: do not check orig_dev in vlan del
authorVivien Didelot <vivien.didelot@gmail.com>
Fri, 14 Jun 2019 17:49:19 +0000 (13:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 03:20:07 +0000 (20:20 -0700)
commit14aafbd822333684f6595fb492f05eb054354a72
tree4e50ba1294406535d731e85ca3045b942eca411f
parent5a1c492b00aa990825a4b035804a81511107698c
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>
net/dsa/port.c