Re: [PATCH net-next v2] net: microchip: Make `lan743x_pm_suspend` function return right value

From: David Miller
Date: Wed Sep 23 2020 - 14:46:32 EST


From: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
Date: Wed, 23 Sep 2020 11:21:40 +0800

> drivers/net/ethernet/microchip/lan743x_main.c: In function lan743x_pm_suspend:
>
> `ret` is set but not used. In fact, `pci_prepare_to_sleep` function value should
> be the right value of `lan743x_pm_suspend` function, therefore, fix it.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>

Applied.