commit | d468a030026017008286919aa6127b1190efb2c2 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Apr 27 15:11:44 2007 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Apr 27 15:11:44 2007 +0300 |
tree | e4b0b156365aa2561e6d0308cec95bcb983bcdc7 | |
parent | 485764016d5accb813e8bdd076802a7e3318bb64 [diff] |
UBI: remove unused variable Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c index c8bbfd1..fc9478d 100644 --- a/drivers/mtd/ubi/gluebi.c +++ b/drivers/mtd/ubi/gluebi.c
@@ -271,7 +271,6 @@ */ 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);