diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-04-27 08:11:44 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-04-27 08:11:44 -0400 |
commit | d468a030026017008286919aa6127b1190efb2c2 (patch) | |
tree | e4b0b156365aa2561e6d0308cec95bcb983bcdc7 | |
parent | 485764016d5accb813e8bdd076802a7e3318bb64 (diff) |
UBI: remove unused variable
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r-- | drivers/mtd/ubi/gluebi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c index c8bbfd1e67ab..fc9478d605ff 100644 --- a/drivers/mtd/ubi/gluebi.c +++ b/drivers/mtd/ubi/gluebi.c | |||
@@ -271,7 +271,6 @@ out_err: | |||
271 | */ | 271 | */ |
272 | int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol) | 272 | int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol) |
273 | { | 273 | { |
274 | int err; | ||
275 | struct mtd_info *mtd = &vol->gluebi_mtd; | 274 | struct mtd_info *mtd = &vol->gluebi_mtd; |
276 | 275 | ||
277 | mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); | 276 | mtd->name = kmemdup(vol->name, vol->name_len + 1, GFP_KERNEL); |