[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <CZ6G3AJZTG6X.1P6P64B0Y3Q8W@gmail.com>
Date: Fri, 16 Feb 2024 11:52:27 +0100
From: "Thierry Reding" <thierry.reding@...il.com>
To: "Colin Ian King" <colin.i.king@...il.com>, "Mikko Perttunen"
<mperttunen@...dia.com>, "David Airlie" <airlied@...il.com>, "Daniel
Vetter" <daniel@...ll.ch>, <dri-devel@...ts.freedesktop.org>,
<linux-tegra@...r.kernel.org>
Cc: <kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] gpu: host1x: remove redundant assignment to
variable space
On Thu Feb 15, 2024 at 11:43 PM CET, Colin Ian King wrote:
> The variable space is being initialized with a value that is never read,
> it is being re-assigned later on. The initialization is redundant and
> can be removed. Also merge two declaration lines together.
>
> Cleans up clang scan build warning:
> drivers/gpu/host1x/cdma.c:628:15: warning: Value stored to 'space'
> during its initialization is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
> ---
> drivers/gpu/host1x/cdma.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied to drm-misc-next, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists