Since someone modified the code to initialize all need_print with zero,
these lines can be removed entirely.
Signed-off-by: Stefan Behrens <sbehrens@xxxxxxxxxxxxxxxx>
---
btrfs-list.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/btrfs-list.c b/btrfs-list.c
index 1246a25..a5d6e9b 100644
--- a/btrfs-list.c
+++ b/btrfs-list.c
@@ -46,7 +46,7 @@ struct root_lookup {
struct rb_root root;
};
-struct {
+static struct {
char *name;
char *column_name;
int need_print;
@@ -54,52 +54,42 @@ struct {
{
.name = "ID",
.column_name = "ID",
- .need_print = 0,
},
{
.name = "gen",
.column_name = "Gen",
- .need_print = 0,
},
{
.name = "cgen",
.column_name = "CGen",
- .need_print = 0,
},
{
.name = "parent",
.column_name = "Parent",
- .need_print = 0,
},
{
.name = "top level",
.column_name = "Top Level",
- .need_print = 0,
},
{
.name = "otime",
.column_name = "OTime",
- .need_print = 0,
},
{
.name = "parent_uuid",
.column_name = "Parent UUID",
- .need_print = 0,
},
{
.name = "uuid",
.column_name = "UUID",
- .need_print = 0,
},
{
.name = "path",
.column_name = "Path",
- .need_print = 0,
},
{
.name = NULL,
.column_name = NULL,
- .need_print = 0,
},
};
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html