]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: pmc551: Remove set but not used variable 'soff_lo'
authorzhengbin <zhengbin13@huawei.com>
Tue, 3 Sep 2019 02:52:30 +0000 (10:52 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 15 Sep 2019 21:51:07 +0000 (23:51 +0200)
commit2cfcfadb8e1380938d6631cffa4fa567b13f52b2
tree08a80343e513b97f36f7884ffa9bf6e6ca4445f8
parent8a9485ff09088c67b70e4e38b1679c1b9bedb808
mtd: pmc551: Remove set but not used variable 'soff_lo'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/mtd/devices/pmc551.c: In function pmc551_erase:
drivers/mtd/devices/pmc551.c:142:15: warning: variable soff_lo set but not used [-Wunused-but-set-variable]
drivers/mtd/devices/pmc551.c: In function pmc551_read:
drivers/mtd/devices/pmc551.c:232:15: warning: variable soff_lo set but not used [-Wunused-but-set-variable]
drivers/mtd/devices/pmc551.c: In function pmc551_write:
drivers/mtd/devices/pmc551.c:289:15: warning: variable soff_lo set but not used [-Wunused-but-set-variable]

It is not used since commit cdf0a7d16980 ("[MTD]
pmc551 whitespace cleanup")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/devices/pmc551.c