Browse Source

qcacmn: Remove unnecessary logs in loop

There is unnecessary logs in loop which affect useful log capturing.

Change-Id: I37b2c8123a280e4ec080ac1fb75e43135936fd79
CRs-Fixed: 2552104
Wu Gao 5 years ago
parent
commit
5988e8b7d2

+ 0 - 6
target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c

@@ -313,8 +313,6 @@ static QDF_STATUS target_if_dbr_replenish_ring(struct wlan_objmgr_pdev *pdev,
 	struct direct_buf_rx_ring_cap *dbr_ring_cap;
 	struct direct_buf_rx_buf_info *dbr_buf_pool;
 
-	direct_buf_rx_enter();
-
 	dbr_ring_cfg = mod_param->dbr_ring_cfg;
 	dbr_ring_cap = mod_param->dbr_ring_cap;
 	dbr_buf_pool = mod_param->dbr_buf_pool;
@@ -361,8 +359,6 @@ static QDF_STATUS target_if_dbr_replenish_ring(struct wlan_objmgr_pdev *pdev,
 	WMI_HOST_DBR_RING_ADDR_HI_SET(dw_hi, (uint64_t)paddr >> 32);
 	WMI_HOST_DBR_DATA_ADDR_HI_HOST_DATA_SET(dw_hi, cookie);
 	*ring_entry = (uint64_t)dw_hi << 32 | dw_lo;
-	direct_buf_rx_debug("Valid ring entry, cookie %u, dw_lo %x, dw_hi :%x",
-			    cookie, dw_lo, dw_hi);
 	hal_srng_access_end(hal_soc, srng);
 
 	return QDF_STATUS_SUCCESS;
@@ -1115,8 +1111,6 @@ static QDF_STATUS target_if_dbr_empty_ring(struct wlan_objmgr_pdev *pdev,
 			   dbr_ring_cfg, dbr_ring_cap, dbr_buf_pool);
 
 	for (idx = 0; idx < dbr_ring_cfg->num_ptr - 1; idx++) {
-		direct_buf_rx_debug("dbr buf pool unmap and free for ptr %d",
-				    idx);
 		qdf_mem_unmap_nbytes_single(dbr_psoc_obj->osdev,
 			(qdf_dma_addr_t)dbr_buf_pool[idx].paddr,
 			QDF_DMA_FROM_DEVICE,

+ 7 - 4
umac/cmn_services/serialization/src/wlan_serialization_main.c

@@ -146,12 +146,13 @@ static void wlan_serialization_destroy_cmd_pool(
 	qdf_list_node_t *node = NULL;
 	struct wlan_serialization_command_list *cmd_list;
 
+	ser_debug("Destroy cmd pool list %pk, size %d",
+		  &pdev_queue->cmd_pool_list,
+		  qdf_list_size(&pdev_queue->cmd_pool_list));
 	while (!qdf_list_empty(&pdev_queue->cmd_pool_list)) {
 		qdf_list_remove_front(&pdev_queue->cmd_pool_list,
 				      &node);
 		cmd_list = (struct wlan_serialization_command_list *)node;
-		ser_debug("Node being freed from global pool %pK",
-			  cmd_list);
 		qdf_mem_free(cmd_list);
 	}
 
@@ -197,10 +198,12 @@ wlan_serialization_create_cmd_pool(
 				     &pdev_queue->cmd_pool_list,
 				     &cmd_list_ptr->pdev_node);
 		cmd_list_ptr->cmd_in_use = 0;
-		ser_debug("Created node at %pK and inserted to pool",
-			  cmd_list_ptr);
 	}
 
+	ser_debug("Create cmd pool list %pK, size %d",
+		  &pdev_queue->cmd_pool_list,
+		  qdf_list_size(&pdev_queue->cmd_pool_list));
+
 	status = QDF_STATUS_SUCCESS;
 
 error: