Skip to content

Commit

Permalink
UBI: remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Apr 27, 2007
1 parent 4857640 commit d468a03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/ubi/gluebi.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr)
*/
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);
Expand Down

0 comments on commit d468a03

Please sign in to comment.