[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2404121756200.5680@cbobk.fhfr.pm>
Date: Fri, 12 Apr 2024 17:56:31 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
cc: Benjamin Tissoires <bentiss@...nel.org>, linux-input@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] HID: sony: remove redundant assignment to variable
ret
On Thu, 28 Mar 2024, Colin Ian King wrote:
> The variable ret is being assigned a value that is never read
> afterwards. The assignment is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/hid/hid-sony.c:2020:3: warning: Value stored to 'ret'
> is never read [deadcode.DeadStores]
That assignment is indeed bogus. Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists