mtd: remove redundant assignment to pointer eb
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Sep 2020 10:23:21 +0000 (11:23 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Jan 2021 12:45:23 +0000 (13:45 +0100)
commitb81770a7007c4286880ed4b182e22b1897f27cfe
tree4f5b6484630d4a172d2ff3e7996eb245a7f88776
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
mtd: remove redundant assignment to pointer eb

Pointer eb is being assigned a value that is never 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/20200911102321.22515-1-colin.king@canonical.com
drivers/mtd/mtdswap.c