ubi: Remove useless code in bytes_str_to_int
authork00524021 <kechengsong@huawei.com>
Tue, 3 Nov 2020 11:56:45 +0000 (19:56 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 13 Dec 2020 20:57:10 +0000 (21:57 +0100)
commit619ea229e9b54e65955f8746a31ae15797d297fc
treee019273485a7b595aee33e16ec9e6c13cd37ffad
parentf212400783911a2732eaa5022c9157659c85ccc6
ubi: Remove useless code in bytes_str_to_int

As a local variable, "endp" is neither refered nor returned
after this line "endp += 2", it looks like a useless code,
suggest to remove it.

Signed-off-by: Chengsong Ke <kechengsong@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/build.c