From 39b8d285082e711756ef1d218b1f62dfa8213ff8 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 5 Jan 2023 12:50:51 -0800 Subject: [PATCH] qcacmn: Make dp_print_mlo_ast_stats() static The function dp_print_mlo_ast_stats() is currently a public function. However this function is only called from within the file where it is defined, so make it static. Change-Id: Id83c7b3110c60ca6e3dc3263aaf87d21e9365a31 CRs-Fixed: 3374039 --- dp/wifi3.0/dp_main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 470d8444db..64835b9639 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -268,10 +268,6 @@ static QDF_STATUS dp_alloc_tx_ring_pair_by_index(struct dp_soc *soc, static uint8_t dp_soc_ring_if_nss_offloaded(struct dp_soc *soc, enum hal_ring_type ring_type, int ring_num); -#ifdef FEATURE_AST -void dp_print_mlo_ast_stats(struct dp_soc *soc); -#endif - #ifdef DP_UMAC_HW_RESET_SUPPORT static QDF_STATUS dp_umac_reset_handle_pre_reset(struct dp_soc *soc); static QDF_STATUS dp_umac_reset_handle_post_reset(struct dp_soc *soc); @@ -1738,7 +1734,7 @@ configure_msi2: * * Return: void */ -void dp_print_mlo_ast_stats(struct dp_soc *soc) +static void dp_print_mlo_ast_stats(struct dp_soc *soc) { if (soc->arch_ops.print_mlo_ast_stats) soc->arch_ops.print_mlo_ast_stats(soc);