diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2020-06-16 10:11:45 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-12-14 00:12:38 +0300 |
commit | bf6dab7a6ce79c56764623b970be10fc6edd8a68 (patch) | |
tree | 895f22d36ed5e1e46188126f1931948afd8c28c5 /fs/ubifs/debug.c | |
parent | a33e30a0e023e9d1866866ca895c7789f48445e7 (diff) | |
download | linux-bf6dab7a6ce79c56764623b970be10fc6edd8a68.tar.xz |
ubifs: ubifs_dump_sleb: Remove unused function
Function ubifs_dump_sleb() is defined but unused, it can be removed.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r-- | fs/ubifs/debug.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 5d78056067a2..8b49ece5f656 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@ -828,22 +828,6 @@ void ubifs_dump_lpt_info(struct ubifs_info *c) spin_unlock(&dbg_lock); } -void ubifs_dump_sleb(const struct ubifs_info *c, - const struct ubifs_scan_leb *sleb, int offs) -{ - struct ubifs_scan_node *snod; - - pr_err("(pid %d) start dumping scanned data from LEB %d:%d\n", - current->pid, sleb->lnum, offs); - - list_for_each_entry(snod, &sleb->nodes, list) { - cond_resched(); - pr_err("Dumping node at LEB %d:%d len %d\n", - sleb->lnum, snod->offs, snod->len); - ubifs_dump_node(c, snod->node); - } -} - void ubifs_dump_leb(const struct ubifs_info *c, int lnum) { struct ubifs_scan_leb *sleb; |