瀏覽代碼

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;