Explorar el Código

UBI: remove unused variable

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy hace 18 años
padre
commit
d468a03002
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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 err;
 	struct mtd_info *mtd = &vol->gluebi_mtd;
 
 	mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL);