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/stn/stn.c | 6 ------ src/plugins/stn/stn_api.c | 2 -- 2 files changed, 8 deletions(-) (limited to 'src/plugins/stn') diff --git a/src/plugins/stn/stn.c b/src/plugins/stn/stn.c index 241f7169e8b..6e789feca5d 100644 --- a/src/plugins/stn/stn.c +++ b/src/plugins/stn/stn.c @@ -195,7 +195,6 @@ stn_ip6_punt_fn (vlib_main_t * vm, return stn_ip46_punt_fn(vm, node, frame, 0); } -/** *INDENT-OFF* */ VLIB_REGISTER_NODE (stn_ip6_punt, static) = { .function = stn_ip6_punt_fn, @@ -215,7 +214,6 @@ VNET_FEATURE_INIT (stn_ip6_punt_feat_node, static) = { .node_name = "stn-ip6-punt", .runs_before = VNET_FEATURES("ip6-punt-redirect"), }; -/** *INDENT-ON* */ u8 * format_stn_ip4_punt_trace (u8 * s, va_list * args) @@ -230,7 +228,6 @@ stn_ip4_punt_fn (vlib_main_t * vm, return stn_ip46_punt_fn(vm, node, frame, 1); } -/** *INDENT-OFF* */ VLIB_REGISTER_NODE (stn_ip4_punt, static) = { .function = stn_ip4_punt_fn, @@ -250,7 +247,6 @@ VNET_FEATURE_INIT (stn_ip4_punt_feat_node, static) = { .node_name = "stn-ip4-punt", .runs_before = VNET_FEATURES("ip4-punt-redirect"), }; -/** *INDENT-ON* */ clib_error_t * stn_init (vlib_main_t * vm) @@ -275,12 +271,10 @@ stn_init (vlib_main_t * vm) VLIB_INIT_FUNCTION (stn_init); -/* *INDENT-OFF* */ VLIB_PLUGIN_REGISTER () = { .version = VPP_BUILD_VER, .description = "VPP Steals the NIC (STN) for Container Integration", }; -/* *INDENT-ON* */ int stn_rule_add_del (stn_rule_add_del_args_t *args) { diff --git a/src/plugins/stn/stn_api.c b/src/plugins/stn/stn_api.c index 8d96014331a..4d1af36d448 100644 --- a/src/plugins/stn/stn_api.c +++ b/src/plugins/stn/stn_api.c @@ -82,11 +82,9 @@ vl_api_stn_rules_dump_t_handler (vl_api_stn_rules_dump_t * mp) if (reg == 0) return; - /* *INDENT-OFF* */ pool_foreach (r, stn->rules) { send_stn_rules_details (r, reg, mp->context); } - /* *INDENT-ON* */ } #include -- cgit 1.2.3-korg