Re: [PATCH net-next] net: microchip: Remove set but not used variable
From: David Miller
Date: Sat Sep 19 2020 - 17:09:44 EST
From: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
Date: Sat, 19 Sep 2020 10:39:09 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/microchip/lan743x_main.c: In function lan743x_pm_suspend:
> drivers/net/ethernet/microchip/lan743x_main.c:3041:6: warning: variable ʽretʼ set but not used [-Wunused-but-set-variable]
>
> `ret` is set but not used, so check it's value.
Subject is still wrong, please fix this and take your time doing
so.
Thanks.