Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH] mtd: lpddr_cmds: remove unused words variable | Date | Tue, 28 Mar 2023 16:31:48 +0200 |
| |
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@redhat.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
| |