Browse Source

UBI: remove bogus assertion

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy 17 years ago
parent
commit
2f9270e7fe
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/mtd/ubi/scan.c

+ 0 - 1
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;
 }