[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZeXSyit1fq5CFJSc@hovoldconsulting.com>
Date: Mon, 4 Mar 2024 14:55:22 +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: keyspan: Remove redundant assignment
to pointer data
On Wed, Feb 07, 2024 at 10:41:28AM +0000, Colin Ian King wrote:
> The pointer data is being assigned a value that is not being
> read afterwards, it is being re-assigned later inside a do-while
> loop. The assignment is redundant and can be removed.
>
> Cleans up clang scan warning:
> drivers/usb/serial/keyspan.c:924:2: warning: Value stored to 'data'
> 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