mtd: lpddr_cmds: remove unused words variable
authorTom Rix <trix@redhat.com>
Tue, 28 Mar 2023 00:06:20 +0000 (20:06 -0400)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Mar 2023 12:59:21 +0000 (14:59 +0200)
commite6026eb080fa1c1ef6eec24567b733809a5e3018
tree605b113609c6293121fad428fc0ea9ac37d76c74
parent1f79a611e74c97dcb76054b9f28f41a122a7a93b
mtd: lpddr_cmds: remove unused words variable

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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230328000620.1778033-1-trix@redhat.com
drivers/mtd/lpddr/lpddr_cmds.c