OSDN Git Service

net: dsa: simplify the return rtl8366_vlan_prepare()
authorZheng Yongjun <zhengyongjun3@huawei.com>
Wed, 9 Dec 2020 09:26:21 +0000 (17:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 01:05:37 +0000 (17:05 -0800)
commit965b8b2bad0acaea6d7b20493394bf80075021a5
tree7756c1a1e93a9d52db0c41af8a6d615a45f0bdff
parent6f2d5cf9756dab190e79edd4ec098c81dca6743c
net: dsa: simplify the return rtl8366_vlan_prepare()

Simplify the return expression.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rtl8366.c