summaryrefslogtreecommitdiff
path: root/cmds-inspect.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-01 16:34:26 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commit62830bcb237fc3f17871aa24fe2605ba536255a7 (patch)
treed5c50731137aa3f5935611ae51fdb7401939700b /cmds-inspect.c
parent358807cc33fb3ed50ddf782e5b32f6e3cc2fa329 (diff)
btrfs-progs: inspect: remove unnecessary helpers
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-inspect.c')
-rw-r--r--cmds-inspect.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/cmds-inspect.c b/cmds-inspect.c
index 82727ab..3e753e4 100644
--- a/cmds-inspect.c
+++ b/cmds-inspect.c
@@ -624,16 +624,6 @@ out:
return !!ret;
}
-static int cmd_inspect_dump_tree_hook(int argc, char **argv)
-{
- return cmd_inspect_dump_tree(argc, argv);
-}
-
-static int cmd_inspect_dump_super_hook(int argc, char **argv)
-{
- return cmd_inspect_dump_super(argc, argv);
-}
-
static const char inspect_cmd_group_info[] =
"query various internal information";
@@ -649,9 +639,9 @@ const struct cmd_group inspect_cmd_group = {
0 },
{ "min-dev-size", cmd_inspect_min_dev_size,
cmd_inspect_min_dev_size_usage, NULL, 0 },
- { "dump-tree", cmd_inspect_dump_tree_hook,
+ { "dump-tree", cmd_inspect_dump_tree,
cmd_inspect_dump_tree_usage, NULL, 0 },
- { "dump-super", cmd_inspect_dump_super_hook,
+ { "dump-super", cmd_inspect_dump_super,
cmd_inspect_dump_super_usage, NULL, 0 },
NULL_CMD_STRUCT
}