Re: [PATCH] mtd: lpddr_cmds: remove unused words variable
From: Miquel Raynal
Date: Tue Mar 28 2023 - 10:32:00 EST
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@xxxxxxxxxx>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel