mtd: mtdswap: Remove redundant assignment of pointer eb
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Sep 2021 12:00:23 +0000 (13:00 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:36:34 +0000 (19:36 +0200)
commitb72841e4dcd54de486fca2e4ffa00b8defc1eecc
treed4b09b3acd4bf3053d727591ac8359990835b1c1
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
mtd: mtdswap: Remove redundant assignment of pointer eb

The pointer eb is being assigned a value that is never read, it is
being updated later on. 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/20210910120023.46308-1-colin.king@canonical.com
drivers/mtd/mtdswap.c