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/vpp | |
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/vpp')
-rw-r--r-- | src/vpp/api/api.c | 4 | ||||
-rw-r--r-- | src/vpp/api/api_main.c | 2 | ||||
-rw-r--r-- | src/vpp/api/gmon.c | 6 | ||||
-rw-r--r-- | src/vpp/app/version.c | 2 | ||||
-rw-r--r-- | src/vpp/app/vpe_cli.c | 2 | ||||
-rw-r--r-- | src/vpp/app/vppctl.c | 1 | ||||
-rw-r--r-- | src/vpp/vnet/main.c | 2 |
7 files changed, 0 insertions, 19 deletions
diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c index d14906aff2f..6041b066578 100644 --- a/src/vpp/api/api.c +++ b/src/vpp/api/api.c @@ -109,7 +109,6 @@ vl_api_show_version_t_handler (vl_api_show_version_t * mp) char *vpe_api_get_version (void); char *vpe_api_get_build_date (void); - /* *INDENT-OFF* */ REPLY_MACRO2(VL_API_SHOW_VERSION_REPLY, ({ strncpy ((char *) rmp->program, "vpe", ARRAY_LEN(rmp->program)-1); @@ -120,7 +119,6 @@ vl_api_show_version_t_handler (vl_api_show_version_t * mp) strncpy ((char *) rmp->build_date, vpe_api_get_build_date(), ARRAY_LEN(rmp->build_date)-1); })); - /* *INDENT-ON* */ } static void @@ -128,11 +126,9 @@ vl_api_show_vpe_system_time_t_handler (vl_api_show_vpe_system_time_t *mp) { int rv = 0; vl_api_show_vpe_system_time_reply_t *rmp; - /* *INDENT-OFF* */ REPLY_MACRO2 ( VL_API_SHOW_VPE_SYSTEM_TIME_REPLY, ({ rmp->vpe_system_time = clib_host_to_net_f64 (unix_time_now ()); })); - /* *INDENT-ON* */ } static void diff --git a/src/vpp/api/api_main.c b/src/vpp/api/api_main.c index 47d974877e1..f2516752b9d 100644 --- a/src/vpp/api/api_main.c +++ b/src/vpp/api/api_main.c @@ -267,7 +267,6 @@ api_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (api_command, static) = { .path = "binary-api", @@ -275,7 +274,6 @@ VLIB_CLI_COMMAND (api_command, static) = .function = api_command_fn, .is_mp_safe = 1, }; -/* *INDENT-ON* */ void api_cli_output (void *notused, const char *fmt, ...) diff --git a/src/vpp/api/gmon.c b/src/vpp/api/gmon.c index ff561efbc07..e4ac1543cfc 100644 --- a/src/vpp/api/gmon.c +++ b/src/vpp/api/gmon.c @@ -73,7 +73,6 @@ get_significant_errors (gmon_main_t * gm) int vm_index; u64 significant_errors = 0; - /* *INDENT-OFF* */ clib_bitmap_foreach (code, gm->sig_error_bitmap) { for (vm_index = 0; vm_index < vec_len (gm->my_vlib_mains); vm_index++) @@ -85,7 +84,6 @@ get_significant_errors (gmon_main_t * gm) em->counters_last_clear[code] : 0); } } - /* *INDENT-ON* */ return (significant_errors); } @@ -145,13 +143,11 @@ gmon_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f) return 0; /* not so much */ } -/* *INDENT-OFF* */ VLIB_REGISTER_NODE (gmon_process_node,static) = { .function = gmon_process, .type = VLIB_NODE_TYPE_PROCESS, .name = "gmon-process", }; -/* *INDENT-ON* */ static clib_error_t * gmon_init (vlib_main_t * vm) @@ -288,13 +284,11 @@ set_significant_error_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (set_significant_error_command, static) = { .path = "set significant error", .short_help = "set significant error <counter-index-nnn> [disable]", .function = set_significant_error_command_fn, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON diff --git a/src/vpp/app/version.c b/src/vpp/app/version.c index e6a73283ab2..1446777b74f 100644 --- a/src/vpp/app/version.c +++ b/src/vpp/app/version.c @@ -134,14 +134,12 @@ show_vpe_version_command_fn (vlib_main_t * vm, * @cliexend ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_vpe_version_command, static) = { .path = "show version", .short_help = "show version [verbose] [cmdline]", .function = show_vpe_version_command_fn, .is_mp_safe = 1, }; -/* *INDENT-ON* */ /** Return the image build directory name */ char * diff --git a/src/vpp/app/vpe_cli.c b/src/vpp/app/vpe_cli.c index fc623b101f0..6ad194992e9 100644 --- a/src/vpp/app/vpe_cli.c +++ b/src/vpp/app/vpe_cli.c @@ -119,13 +119,11 @@ done: return error; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (virtual_ip_cmd_fn_command, static) = { .path = "ip virtual", .short_help = "ip virtual <addr> <interface> [mac <Mi>]+ [next-hop <ip4_address>]+", .function = virtual_ip_cmd_fn_command_fn, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON diff --git a/src/vpp/app/vppctl.c b/src/vpp/app/vppctl.c index 8c3495b3304..7c9651784e6 100644 --- a/src/vpp/app/vppctl.c +++ b/src/vpp/app/vppctl.c @@ -477,7 +477,6 @@ done: return 0; } -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c index 192df8f2fe1..71434a9c065 100644 --- a/src/vpp/vnet/main.c +++ b/src/vpp/vnet/main.c @@ -512,14 +512,12 @@ show_bihash_command_fn (vlib_main_t * vm, return 0; } -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_bihash_command, static) = { .path = "show bihash", .short_help = "show bihash", .function = show_bihash_command_fn, }; -/* *INDENT-ON* */ #ifdef CLIB_SANITIZE_ADDR /* default options for Address Sanitizer */ |