From 871623466184f13eaefc795dbdfaaa5af6481be5 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Tue, 12 Jun 2018 15:01:23 -0700 Subject: [PATCH] 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 --- qdf/linux/src/qdf_trace.c | 2 -- target_if/core/inc/target_if.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/qdf/linux/src/qdf_trace.c b/qdf/linux/src/qdf_trace.c index 8eebf711e275..2d9435a15025 100644 --- a/qdf/linux/src/qdf_trace.c +++ b/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); diff --git a/target_if/core/inc/target_if.h b/target_if/core/inc/target_if.h index f15d1b3f875f..430dacd69efa 100644 --- a/target_if/core/inc/target_if.h +++ b/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