Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Tian Tao and committed by
Miquel Raynal
16a7af2e ce675043

-1
-1
drivers/mtd/nftlcore.c
··· 619 619 return BLOCK_NIL; 620 620 } 621 621 //printk("Restarting scan\n"); 622 - lastEUN = BLOCK_NIL; 623 622 continue; 624 623 } 625 624