mtd: mtdconcat: map: remove redundant assignment to variable 'size'
authorColin Ian King <colin.king@canonical.com>
Thu, 10 Sep 2020 15:44:51 +0000 (16:44 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 11 Sep 2020 16:49:34 +0000 (18:49 +0200)
commit1840ff8d426122a06e849b805b5c5095ff4a59ee
tree1a101d75e1057f99a79813ba679b17cf851125b2
parentc1cf1d57d1492235309111ea6a900940213a9166
mtd: mtdconcat: map: remove redundant assignment to variable 'size'

Variable 'size' is being assigned the value zero that will never be
read. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200910154451.752569-1-colin.king@canonical.com
drivers/mtd/mtdconcat.c