Skip to content

Commit

Permalink
UBI: fix gcc warning
Browse files Browse the repository at this point in the history
Fix the following warning:

drivers/mtd/ubi/vmt.c: In function 'ubi_rename_volumes':
drivers/mtd/ubi/vmt.c:642: warning: statement with no effect

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Jul 24, 2008
1 parent 9869cd8 commit eeb16e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/vmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ int ubi_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list)
}

if (!err)
paranoid_check_volumes(ubi);
err = paranoid_check_volumes(ubi);
return err;
}

Expand Down

0 comments on commit eeb16e8

Please sign in to comment.