summaryrefslogtreecommitdiff
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r--cmds-subvolume.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index 9f220851..4cd2e0ec 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -921,15 +921,6 @@ static int cmd_subvol_show(int argc, char **argv)
}
ret = get_subvol_info(fullpath, &get_ri);
- if (ret == 2) {
- /*
- * Since the top level btrfs was given don't
- * take that as error
- */
- printf("%s is toplevel subvolume\n", fullpath);
- ret = 0;
- goto out;
- }
if (ret) {
if (ret < 0) {
error("Failed to get subvol info %s: %s\n",