]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-5.4/net-ethernet-mtk_eth_soc-remove-duplicate-if-statements.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2024 19:54:52 +0000 (11:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2024 19:54:52 +0000 (11:54 -0800)
Went to wrong tree.

queue-5.4/net-ethernet-mtk_eth_soc-remove-duplicate-if-statements.patch [deleted file]
queue-5.4/series

diff --git a/queue-5.4/net-ethernet-mtk_eth_soc-remove-duplicate-if-statements.patch b/queue-5.4/net-ethernet-mtk_eth_soc-remove-duplicate-if-statements.patch
deleted file mode 100644 (file)
index 1bd3033..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From amadeus@jmu.edu.cn  Mon Jan 22 09:48:15 2024
-From: Chukun Pan <amadeus@jmu.edu.cn>
-Date: Mon, 22 Jan 2024 21:02:19 +0800
-Subject: net: ethernet: mtk_eth_soc: remove duplicate if statements
-To: Sasha Levin <sashal@kernel.org>
-Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Chukun Pan <amadeus@jmu.edu.cn>
-Message-ID: <20240122130219.220316-1-amadeus@jmu.edu.cn>
-
-From: Chukun Pan <amadeus@jmu.edu.cn>
-
-It seems that there was something wrong with backport,
-causing `if (err)` to appear twice in the same place.
-
-Fixes: da86a63479e ("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: Chukun Pan <amadeus@jmu.edu.cn>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-index aa9e616cc1d5..011210e6842d 100644
---- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -2302,7 +2302,6 @@ static int mtk_open(struct net_device *dev)
-       if (!refcount_read(&eth->dma_refcnt)) {
-               int err = mtk_start_dma(eth);
--              if (err)
-               if (err) {
-                       phylink_disconnect_phy(mac->phylink);
-                       return err;
--- 
-2.25.1
-
index 05c8cb245d3c2a55b6ff1830fedc2bc9f3c509f8..20ac2922b49f5b26cc8f4850bfff54726a1f31ef 100644 (file)
@@ -155,4 +155,3 @@ usb-mon-fix-atomicity-violation-in-mon_bin_vma_fault.patch
 alsa-oxygen-fix-right-channel-of-capture-volume-mixer.patch
 fbdev-flush-deferred-work-in-fb_deferred_io_fsync.patch
 rootfs-fix-support-for-rootfstype-when-root-is-given.patch
-net-ethernet-mtk_eth_soc-remove-duplicate-if-statements.patch