mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ubifs: Remove the redundant return in dbg_check_nondata_nodes_order
There is a redundant return in dbg_check_nondata_nodes_order, which will be never reached. In addition, error code should be returned instead of zero in this branch. Signed-off-by: Chengsong Ke <kechengsong@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
a61df3c413
commit
32f6ccc743
@ -2442,7 +2442,6 @@ error_dump:
|
||||
ubifs_msg(c, "dumping second node");
|
||||
ubifs_dump_node(c, sb->node);
|
||||
return -EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int chance(unsigned int n, unsigned int out_of)
|
||||
|
Loading…
Reference in New Issue
Block a user