diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-22 05:31:30 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-25 09:41:25 -0500 |
commit | 2f9270e7fe86591d6ba01c0df6ad3f6c035687ea (patch) | |
tree | 67f7caaaa18be97255600decf2e8d2ae9d3898c0 /drivers/mtd | |
parent | d536058752274b2fe60135142da550b5355ffa94 (diff) |
UBI: remove bogus assertion
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ubi/scan.c | 1 |
1 files changed, 0 insertions, 1 deletions
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: | |||
390 | vfree(buf); | 390 | vfree(buf); |
391 | out_free_vidh: | 391 | out_free_vidh: |
392 | ubi_free_vid_hdr(ubi, vh); | 392 | ubi_free_vid_hdr(ubi, vh); |
393 | ubi_assert(err < 0); | ||
394 | return err; | 393 | return err; |
395 | } | 394 | } |
396 | 395 | ||