summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-22 11:31:30 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-25 15:41:25 +0100
commit2f9270e7fe86591d6ba01c0df6ad3f6c035687ea (patch)
tree67f7caaaa18be97255600decf2e8d2ae9d3898c0 /drivers/mtd/ubi
parentUBI: bugfix: calculate data offset properly (diff)
downloadlinux-2f9270e7fe86591d6ba01c0df6ad3f6c035687ea.tar.xz
linux-2f9270e7fe86591d6ba01c0df6ad3f6c035687ea.zip
UBI: remove bogus assertion
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r--drivers/mtd/ubi/scan.c1
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:
vfree(buf);
out_free_vidh:
ubi_free_vid_hdr(ubi, vh);
- ubi_assert(err < 0);
return err;
}