Re: [PATCH] staging: r8188eu: remove unneeded variable

From: Greg KH
Date: Sat Nov 13 2021 - 06:20:22 EST


On Wed, Nov 10, 2021 at 12:22:57PM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
>
> Fix the following coccicheck review:
> ./drivers/staging/r8188eu/os_dep/ioctl_linux.c: 1388: 10-13:
> Unneeded variable ret. Return 0
>
> Remove unneeded variable used to store return value.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>

coccicheck reported this, right? If so, what did this "robot" do?

confused,

greg k-h