Explorar o código

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
Jeff Johnson %!s(int64=2) %!d(string=hai) anos
pai
achega
39b8d28508
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      dp/wifi3.0/dp_main.c

+ 1 - 5
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);