소스 검색

qcacmn: Make dp_tx_desc_clean_up() static

The function dp_tx_desc_clean_up() 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: I23d55584453218776703101e9a5abaf9805efb03
CRs-Fixed: 3371794
Jeff Johnson 2 년 전
부모
커밋
357a7f62b7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dp/wifi3.0/dp_tx_desc.c

+ 2 - 2
dp/wifi3.0/dp_tx_desc.c

@@ -66,13 +66,13 @@ dp_tx_desc_pool_counter_initialize(struct dp_tx_desc_pool_s *tx_desc_pool,
 
 #ifdef DP_UMAC_HW_RESET_SUPPORT
 /**
- * dp_tx_desc_clean_up() -  Clean up the tx dexcriptors
+ * dp_tx_desc_clean_up() - Clean up the tx descriptors
  * @ctxt: context passed
  * @elem: element to be cleaned up
  * @elem_list: element list
  *
  */
-void dp_tx_desc_clean_up(void *ctxt, void *elem, void *elem_list)
+static void dp_tx_desc_clean_up(void *ctxt, void *elem, void *elem_list)
 {
 	struct dp_soc *soc = (struct dp_soc *)ctxt;
 	struct dp_tx_desc_s *tx_desc = (struct dp_tx_desc_s *)elem;