Re: [PATCH] net: pch_gbe: remove unneeded variable retval in __pch_gbe_suspend
From: Jakub Kicinski
Date: Tue Nov 10 2020 - 18:27:46 EST
On Sun, 8 Nov 2020 20:13:00 +0800 xiakaixu1987@xxxxxxxxx wrote:
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> Fix the following coccicheck warning:
>
> ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:2415:5-11: Unneeded variable: "retval". Return "0" on line 2435
>
> Reported-by: Tosk Robot <tencent_os_robot@xxxxxxxxxxx>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
Applied.