Messages in this thread | | | Subject | Re: [next] rsi: remove redundant duplicate assignment of buffer_size | From | Kalle Valo <> | Date | Tue, 27 Mar 2018 08:53:39 +0000 (UTC) |
| |
Colin Ian King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com>
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
| |