[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZeXQ2rTMwuIOpFpo@hovoldconsulting.com>
Date: Mon, 4 Mar 2024 14:47:06 +0100
From: Johan Hovold <johan@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] USB: serial: ftdi_sio: Remove redundant assignment
to variable cflag
On Wed, Feb 07, 2024 at 10:49:36AM +0000, Colin Ian King wrote:
> The variable cflag is being assigned a value that is not being read
> afterwards, it is being re-assigned later on. The assignment is
> redundant and can be removed.
>
> Cleans up clang scan warning:
> drivers/usb/serial/ftdi_sio.c:2613:15: warning: Value stored to 'cflag'
> during its initialization is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Applied, thanks.
Johan
Powered by blists - more mailing lists