Re: [PATCH] usb: serial: mos7720: remove redundant variables iflag, mask and serial

From: Johan Hovold
Date: Mon Jul 16 2018 - 08:11:15 EST


On Fri, Jul 13, 2018 at 11:08:31AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variables iflag, mask and serial are being assigned but ar never used
> hence are redundant and can be removed.
>
> Cleans up clang warnings:
> warning: variable 'iflag' set but not used [-Wunused-but-set-variable]
> warning: variable 'mask' set but not used [-Wunused-but-set-variable]
> warning: variable 'serial' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Now applied, thanks.

Johan