]> git.ipfire.org Git - thirdparty/linux.git/commit
mtd: nftlcore: remove set but rewrite variables
authorTian Tao <tiantao6@hisilicon.com>
Wed, 14 Apr 2021 01:31:14 +0000 (09:31 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 10:11:46 +0000 (12:11 +0200)
commit16a7af2ecc2217ba8c317fdd2ca177bbc7b0a8d2
tree1683d6f9cdc910f110900e40fc44ada7f9e640ee
parentce675043fa12dfc50276e00f31da61e14846b178
mtd: nftlcore: remove set but rewrite variables

The value of lastEUN is not used at line 622, and will rewrite a new value
at line 541. so just remote the line at 622.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1618363874-25113-1-git-send-email-tiantao6@hisilicon.com
drivers/mtd/nftlcore.c