Loading drivers/mtd/ubi/gluebi.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -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 ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol) { { int err; struct mtd_info *mtd = &vol->gluebi_mtd; struct mtd_info *mtd = &vol->gluebi_mtd; mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); Loading Loading
drivers/mtd/ubi/gluebi.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -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 ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol) { { int err; struct mtd_info *mtd = &vol->gluebi_mtd; struct mtd_info *mtd = &vol->gluebi_mtd; mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); Loading