Commit d468a030 authored by Artem Bityutskiy's avatar Artem Bityutskiy

UBI: remove unused variable

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 48576401
......@@ -271,7 +271,6 @@ out_err:
*/
int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
{
int err;
struct mtd_info *mtd = &vol->gluebi_mtd;
mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL);
......
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