Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61228
b: refs/heads/master
c: a6ded48
h: refs/heads/master
v: v3
  • Loading branch information
Vinit Agnihotri authored and Artem Bityutskiy committed Jul 18, 2007
1 parent ab24cd0 commit caaaca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b89044bfa06e8a9a82094fda031cc6d4e8d4a0b0
refs/heads/master: a6ded48e34f803fcbb42719cee452d1f18938ec7
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/ubi/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ static int attach_mtd_dev(const char *mtd_dev, int vid_hdr_offset,
if (err)
goto out_detach;

ubi_devices_cnt += 1;

ubi_msg("attached mtd%d to ubi%d", ubi->mtd->index, ubi_devices_cnt);
ubi_msg("MTD device name: \"%s\"", ubi->mtd->name);
ubi_msg("MTD device size: %llu MiB", ubi->flash_size >> 20);
Expand Down Expand Up @@ -624,6 +622,7 @@ static int attach_mtd_dev(const char *mtd_dev, int vid_hdr_offset,
wake_up_process(ubi->bgt_thread);
}

ubi_devices_cnt += 1;
return 0;

out_detach:
Expand Down

0 comments on commit caaaca9

Please sign in to comment.