[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201110152742.4360b10c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 10 Nov 2020 15:27:42 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: xiakaixu1987@...il.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Kaixu Xia <kaixuxia@...cent.com>
Subject: Re: [PATCH] net: pch_gbe: remove unneeded variable retval in
__pch_gbe_suspend
On Sun, 8 Nov 2020 20:13:00 +0800 xiakaixu1987@...il.com wrote:
> From: Kaixu Xia <kaixuxia@...cent.com>
>
> 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@...cent.com>
> Signed-off-by: Kaixu Xia <kaixuxia@...cent.com>
Applied.
Powered by blists - more mailing lists