[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1e4264e6-55ed-7681-0aff-ce1dd9d6fd9a@kernel.dk>
Date: Sun, 8 May 2022 17:39:41 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Colin Ian King <colin.i.king@...il.com>,
Christoph Hellwig <hch@....de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: kernel-janitors@...r.kernel.org, Kalle Valo <kvalo@...eaurora.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] relay: remove redundant assignment to pointer buf
On 5/8/22 3:21 PM, Colin Ian King wrote:
> Pointer buf is being assigned a value that is not being read, buf
> is being re-assigned in the next starement. The assignment is
> redundant and can be removed.
>
> Cleans up clang scan build warning:
> kernel/relay.c:443:8: warning: Although the value stored to 'buf' is
> used in the enclosing expression, the value is never actually read
> from 'buf' [deadcode.DeadStores]
Andrew, I'm assuming you'll pick this up?
Reviewed-by: Jens Axboe <axboe@...nel.dk>
--
Jens Axboe
Powered by blists - more mailing lists