Преглед изворни кода

qcacmn: Clean up excessive console logging from target if and qdf

Clean up excessive logging from target if and QDF to avoid spamming
kernel log buffers.

Change-Id: Ib81d6bb68bae9d5c477755b31dc20e10663147d5
CRs-Fixed: 2259283
Rajeev Kumar пре 6 година
родитељ
комит
8716234661
2 измењених фајлова са 2 додато и 4 уклоњено
  1. 0 2
      qdf/linux/src/qdf_trace.c
  2. 2 2
      target_if/core/inc/target_if.h

+ 0 - 2
qdf/linux/src/qdf_trace.c

@@ -2808,8 +2808,6 @@ QDF_STATUS qdf_print_ctrl_cleanup(unsigned int idx)
 	qdf_print_clean_node_flag(idx);
 	print_ctrl_obj[idx].in_use = false;
 
-	pr_info("%s: Print control object %d cleaned up\n", __func__, idx);
-
 	return QDF_STATUS_SUCCESS;
 }
 qdf_export_symbol(qdf_print_ctrl_cleanup);

+ 2 - 2
target_if/core/inc/target_if.h

@@ -49,8 +49,8 @@
 #define target_if_debug(format, args...) \
 		target_if_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
 
-#define TARGET_IF_ENTER() target_if_logfl(QDF_TRACE_LEVEL_INFO, "enter")
-#define TARGET_IF_EXIT() target_if_logfl(QDF_TRACE_LEVEL_INFO, "exit")
+#define TARGET_IF_ENTER() target_if_logfl(QDF_TRACE_LEVEL_DEBUG, "enter")
+#define TARGET_IF_EXIT() target_if_logfl(QDF_TRACE_LEVEL_DEBUG, "exit")
 
 
 #ifdef CONFIG_MCL