Re: [next] rsi: remove redundant duplicate assignment of buffer_size
From: Kalle Valo
Date: Tue Mar 27 2018 - 04:53:48 EST
Colin Ian King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable buffer_size is re-assigned the same value, this duplicated
> assignment is redundant and can be removed.
>
> Cleans up clang warning:
> drivers/net/wireless/rsi/rsi_91x_usb.c:140:4: warning: Value stored
> to 'buffer_size' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
a31f9314114c rsi: remove redundant duplicate assignment of buffer_size
--
https://patchwork.kernel.org/patch/10282247/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches