[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180716121102.GM10204@localhost>
Date: Mon, 16 Jul 2018 14:11:02 +0200
From: Johan Hovold <johan@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Johan Hovold <johan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: serial: mos7720: remove redundant variables iflag,
mask and serial
On Fri, Jul 13, 2018 at 11:08:31AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Now applied, thanks.
Johan
Powered by blists - more mailing lists