Skip to content
Commit d1e68ad2 authored by Chukun Pan's avatar Chukun Pan Committed by Greg Kroah-Hartman
Browse files

net: ethernet: mtk_eth_soc: remove duplicate if statements



It seems that there was something wrong with backport,
causing `if (err)` to appear twice in the same place.

Fixes: da86a634 ("net: ethernet: mtk_eth_soc: fix error handling in mtk_open()")
Cc: Liu Jian <liujian56@huawei.com>
Cc: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChukun Pan <amadeus@jmu.edu.cn>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a294639
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment