Re: [PATCH net-next 1/4] net: dsa: do not check orig_dev in vlan del
From: Florian Fainelli
Date: Tue Jun 11 2019 - 19:11:58 EST
On 6/11/19 2:47 PM, Vivien Didelot wrote:
> 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 confusing.
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>