From c3148b1be8f519c80c4417c21b978dfef72b351b Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 12 Mar 2024 17:42:49 +0100 Subject: misc: remove GNU Indent directives Type: refactor Change-Id: I5235bf3e9aff58af6ba2c14e8c6529c4fc9ec86c Signed-off-by: Damjan Marion --- src/plugins/nsh/nsh_cli.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/plugins/nsh/nsh_cli.c') diff --git a/src/plugins/nsh/nsh_cli.c b/src/plugins/nsh/nsh_cli.c index 7bcaf1c51ad..4288a9654c5 100644 --- a/src/plugins/nsh/nsh_cli.c +++ b/src/plugins/nsh/nsh_cli.c @@ -140,7 +140,6 @@ nsh_get_adj_by_sw_if_index (u32 sw_if_index) { adj_index_t ai = ~0; - /* *INDENT-OFF* */ pool_foreach_index (ai, adj_pool) { if (sw_if_index == adj_get_sw_if_index(ai)) @@ -148,7 +147,6 @@ nsh_get_adj_by_sw_if_index (u32 sw_if_index) return ai; } } - /* *INDENT-ON* */ return ~0; } @@ -290,7 +288,6 @@ nsh_add_del_map_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (create_nsh_map_command, static) = { .path = "create nsh map", .short_help = @@ -299,7 +296,6 @@ VLIB_CLI_COMMAND (create_nsh_map_command, static) = { " encap-vxlan4-intf | encap-vxlan6-intf | encap-eth-intf | encap-none]\n", .function = nsh_add_del_map_command_fn, }; -/* *INDENT-ON* */ /** * CLI command for showing the mapping between NSH entries @@ -322,12 +318,10 @@ show_nsh_map_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_nsh_map_command, static) = { .path = "show nsh map", .function = show_nsh_map_command_fn, }; -/* *INDENT-ON* */ /** * CLI command for adding NSH entry @@ -494,7 +488,6 @@ nsh_add_del_entry_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (create_nsh_entry_command, static) = { .path = "create nsh entry", .short_help = @@ -502,7 +495,6 @@ VLIB_CLI_COMMAND (create_nsh_entry_command, static) = { " [c1 c2 c3 c4 ] [tlv-ioam-trace] [del]\n", .function = nsh_add_del_entry_command_fn, }; -/* *INDENT-ON* */ /* format from network order */ u8 * @@ -621,12 +613,10 @@ show_nsh_entry_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_nsh_entry_command, static) = { .path = "show nsh entry", .function = show_nsh_entry_command_fn, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON -- cgit 1.2.3-korg