[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230328143148.441555-1-miquel.raynal@bootlin.com>
Date: Tue, 28 Mar 2023 16:31:48 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Tom Rix <trix@...hat.com>, miquel.raynal@...tlin.com,
richard@....at, vigneshr@...com, nathan@...nel.org,
ndesaulniers@...gle.com
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] mtd: lpddr_cmds: remove unused words variable
On Tue, 2023-03-28 at 00:06:20 UTC, Tom Rix wrote:
> clang with W=1 reports
> drivers/mtd/lpddr/lpddr_cmds.c:409:31: error: variable
> 'words' set but not used [-Werror,-Wunused-but-set-variable]
> int ret, wbufsize, word_gap, words;
> ^
> This variable is not used so remove it.
>
> Signed-off-by: Tom Rix <trix@...hat.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists