diff options
author | Damjan Marion <damarion@cisco.com> | 2024-03-12 17:42:49 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-03-12 19:29:56 +0000 |
commit | c3148b1be8f519c80c4417c21b978dfef72b351b (patch) | |
tree | 2511eb86e5c429ab018716fed0366164e6faf679 /src/plugins/unittest/llist_test.c | |
parent | e2ed59933153d665ee43add2de03a581627b73fa (diff) |
misc: remove GNU Indent directives
Type: refactor
Change-Id: I5235bf3e9aff58af6ba2c14e8c6529c4fc9ec86c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/unittest/llist_test.c')
-rw-r--r-- | src/plugins/unittest/llist_test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/unittest/llist_test.c b/src/plugins/unittest/llist_test.c index a67075de44e..5a712cde33e 100644 --- a/src/plugins/unittest/llist_test.c +++ b/src/plugins/unittest/llist_test.c @@ -132,13 +132,11 @@ llist_test_basic (vlib_main_t * vm, unformat_input_t * input) list_test_is_sane (pelts, ll_test, he); i--; - /* *INDENT-OFF* */ clib_llist_foreach (pelts, ll_test, he, e, ({ if (i != e->data) LLIST_TEST (0, "incorrect element i = %u data = %u", i, e->data); i--; })); - /* *INDENT-ON* */ LLIST_TEST (i == -1, "head insertion works i = %d", i); @@ -180,13 +178,11 @@ llist_test_basic (vlib_main_t * vm, unformat_input_t * input) "list should not be empty"); i--; - /* *INDENT-OFF* */ clib_llist_foreach_reverse (pelts, ll_test2, he2, e, ({ if (i != e->data) LLIST_TEST (0, "incorrect element i = %u data = %u", i, e->data); i--; })); - /* *INDENT-ON* */ LLIST_TEST (i == -1, "tail insertion works"); /* @@ -217,13 +213,11 @@ llist_test_basic (vlib_main_t * vm, unformat_input_t * input) i = 0; - /* *INDENT-OFF* */ clib_llist_foreach (pelts, ll_test, he, e, ({ if (i != e->data) LLIST_TEST (0, "incorrect element i = %u data = %u", i, e->data); i++; })); - /* *INDENT-ON* */ LLIST_TEST (i == 100, "move from ll_test2 to ll_test worked i %u", i); @@ -335,14 +329,12 @@ done: return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (llist_test_command, static) = { .path = "test llist", .short_help = "internal llist unit tests", .function = llist_test, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON |