UBI: remove bogus assertion

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 3 06:59:02 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=2f9270e7fe86591d6ba01c0df6ad3f6c035687ea
Commit:     2f9270e7fe86591d6ba01c0df6ad3f6c035687ea
Parent:     d536058752274b2fe60135142da550b5355ffa94
Author:     Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
AuthorDate: Tue Jan 22 12:31:30 2008 +0200
Committer:  Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
CommitDate: Fri Jan 25 16:41:25 2008 +0200

    UBI: remove bogus assertion
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
---
 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 c7b0afc..0c05f7b 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;
 }
 



More information about the linux-mtd-cvs mailing list