Commit 3b638f99 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Richard Weinberger

ubi: eba: Delete useless kfree code

The parameter of kfree function is NULL, so kfree code is useless, delete it.
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent cf0838df
......@@ -142,7 +142,6 @@ struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol,
return tbl;
err:
kfree(tbl->entries);
kfree(tbl);
return ERR_PTR(err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment