]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e7439419167d59ecc20b9e49e5af603bc9cdb80
treed4b09b3acd4bf3053d727591ac8359990835b1c1
parentb901123b83fca756ffcd85ea50a6cd9637d66d0c
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