OSDN Git Service

net: mediatek: simplify the return expression of mtk_gmac_sgmii_path_setup()
authorZheng Yongjun <zhengyongjun3@huawei.com>
Thu, 10 Dec 2020 13:50:50 +0000 (21:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 21:02:16 +0000 (13:02 -0800)
commita76b6b1fe8312905e3f91279f93a4c0cf3b1707c
tree5f8161986001f273143f7371ba62b97c0c0b2997
parentb18cac546be3844471807e73b7e50e7f2ef7bf98
net: mediatek: simplify the return expression of mtk_gmac_sgmii_path_setup()

Simplify the return expression.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_path.c