[PATCH] drivers/net/wireless: remove redundant ret variable

Kalle Valo kvalo at kernel.org
Wed Jan 12 00:16:20 PST 2022


cgel.zte at gmail.com writes:

> From: Minghao Chi <chi.minghao at zte.com.cn>
>
> Return value directly instead of taking this in another redundant
> variable.
>
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Minghao Chi <chi.minghao at zte.com.cn>
> Signed-off-by: CGEL ZTE <cgel.zte at gmail.com>
> ---
>  drivers/net/wireless/marvell/libertas/cfg.c | 14 +++-----------
>  1 file changed, 3 insertions(+), 11 deletions(-)

The subject prefix should be "libertas:", I can fix that.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the libertas-dev mailing list