Skip to content
Commit 770aa73d authored by YueHaibing's avatar YueHaibing Committed by Richard Weinberger
Browse files

ubi: wl: Remove set but not used variable 'prev_e'



Fixes gcc '-Wunused-but-set-variable' warning:

drivers/mtd/ubi/wl.c: In function 'find_wl_entry':
drivers/mtd/ubi/wl.c:322:27: warning:
 variable 'prev_e' set but not used [-Wunused-but-set-variable]

It's not used any more now, so remove it.

Fixes: f9c34bb5 ("ubi: Fix producing anchor PEBs")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent ef5aafb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment