Commit d468a030026017008286919aa6127b1190efb2c2

Authored by Artem Bityutskiy
1 parent 485764016d

UBI: remove unused variable

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/mtd/ubi/gluebi.c
... ... @@ -271,7 +271,6 @@
271 271 */
272 272 int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol)
273 273 {
274   - int err;
275 274 struct mtd_info *mtd = &vol->gluebi_mtd;
276 275  
277 276 mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL);