ubifs: Remove the redundant return in dbg_check_nondata_nodes_order
authorChengsong Ke <kechengsong@huawei.com>
Mon, 2 Nov 2020 08:27:43 +0000 (16:27 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 13 Dec 2020 21:11:23 +0000 (22:11 +0100)
commit32f6ccc743b89bb4c51d4a868ffdb6ebda2909cf
tree13e50dd5df2c85ec2b40268d3a52437ade9f7eae
parenta61df3c413e49b0042f9caf774c58512d1cc71b7
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>
fs/ubifs/debug.c