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/builtinurl/builtins.c | 4 ---- src/plugins/builtinurl/builtinurl.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'src/plugins/builtinurl') diff --git a/src/plugins/builtinurl/builtins.c b/src/plugins/builtinurl/builtins.c index 24323cd596e..b04e9dd5c7c 100644 --- a/src/plugins/builtinurl/builtins.c +++ b/src/plugins/builtinurl/builtins.c @@ -97,12 +97,10 @@ handle_get_interface_stats (hss_url_handler_args_t *args) } else /* default, HTTP_BUILTIN_METHOD_GET */ { - /* *INDENT-OFF* */ pool_foreach (hi, im->hw_interfaces) { vec_add1 (sw_if_indices, hi->sw_if_index); } - /* *INDENT-ON* */ } s = format (s, "{%sinterface_stats%s: [\n", q, q); @@ -150,14 +148,12 @@ handle_get_interface_list (hss_url_handler_args_t *args) int need_comma = 0; /* Construct vector of active hw_if_indexes ... */ - /* *INDENT-OFF* */ pool_foreach (hi, im->hw_interfaces) { /* No point in mentioning "local0"... */ if (hi - im->hw_interfaces) vec_add1 (hw_if_indices, hi - im->hw_interfaces); } - /* *INDENT-ON* */ /* Build answer */ s = format (s, "{\"interface_list\": [\n"); diff --git a/src/plugins/builtinurl/builtinurl.c b/src/plugins/builtinurl/builtinurl.c index 8782906a8d2..749a2c93b8a 100644 --- a/src/plugins/builtinurl/builtinurl.c +++ b/src/plugins/builtinurl/builtinurl.c @@ -85,14 +85,12 @@ builtinurl_enable_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (builtinurl_enable_command, static) = { .path = "builtinurl enable", .short_help = "Turn on builtin http/https GET and POST urls", .function = builtinurl_enable_command_fn, }; -/* *INDENT-ON* */ /* API message handler */ static void vl_api_builtinurl_enable_t_handler @@ -124,13 +122,11 @@ builtinurl_init (vlib_main_t * vm) VLIB_INIT_FUNCTION (builtinurl_init); -/* *INDENT-OFF* */ VLIB_PLUGIN_REGISTER () = { .version = VPP_BUILD_VER, .description = "vpp built-in URL support", }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON -- cgit 1.2.3-korg