提交 d468a030 编写于 作者: A Artem Bityutskiy

UBI: remove unused variable

Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 48576401
......@@ -271,7 +271,6 @@ static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr)
*/
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册