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

Johan Hovold
2018-07-16T12:11:02Z

On Fri, Jul 13, 2018 at 11:08:31AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>

Now applied, thanks.

Johan