Jelajahi Sumber

UBI: remove unused variable

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy 18 tahun lalu
induk
melakukan
d468a03002
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      drivers/mtd/ubi/gluebi.c

+ 0 - 1
drivers/mtd/ubi/gluebi.c

@@ -271,7 +271,6 @@ out_err:
  */
  */
 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);