From: Artem Bityutskiy Date: Tue, 22 Jan 2008 10:31:30 +0000 (+0200) Subject: UBI: remove bogus assertion X-Git-Tag: firefly_0821_release~22789^2~10^2~9 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2f9270e7fe86591d6ba01c0df6ad3f6c035687ea;p=firefly-linux-kernel-4.4.55.git UBI: remove bogus assertion Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c index c7b0afc9d280..0c05f7b90127 100644 --- a/drivers/mtd/ubi/scan.c +++ b/drivers/mtd/ubi/scan.c @@ -390,7 +390,6 @@ out_free_buf: vfree(buf); out_free_vidh: ubi_free_vid_hdr(ubi, vh); - ubi_assert(err < 0); return err; }