UBI: remove unused variable
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 27 Apr 2007 12:11:44 +0000 (15:11 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 27 Apr 2007 12:11:44 +0000 (15:11 +0300)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/gluebi.c

index c8bbfd1..fc9478d 100644 (file)
@@ -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);