qcacld-3.0: Remove redundant __func__ from the logs

The logging macros implicitly takes care of embedding function name
in the log, hence there is no need to include __func__ again.
Getting rid of redundant __func__ reduces driver memory footprint.

Change-Id: Idf4685539991f65205f19b27551cef699230c82e
CRs-Fixed: 2768575
This commit is contained in:
Srinivas Girigowda 2020-09-01 22:20:21 -07:00 committed by snandini
parent 5807630e6f
commit 6182feee60
5 changed files with 14 additions and 15 deletions

View File

@ -2753,8 +2753,7 @@ uint32_t policy_mgr_search_and_check_for_session_conc(
status = policy_mgr_get_channel_from_scan_result(
psoc, roam_profile, &ch_freq, session_id);
if (QDF_STATUS_SUCCESS != status || ch_freq == 0) {
policy_mgr_err("%s error %d %d",
__func__, status, ch_freq);
policy_mgr_err("status: %d ch_freq: %d", status, ch_freq);
return 0;
}
@ -3794,7 +3793,7 @@ QDF_STATUS policy_mgr_get_updated_scan_and_fw_mode_config(
WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_SET(*scan_config, 0);
break;
case ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN:
policy_mgr_debug("%s: dual_mac_disable_ini:%d ", __func__,
policy_mgr_debug("dual_mac_disable_ini:%d ",
dual_mac_disable_ini);
WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_SET(*scan_config, 0);
break;

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -211,7 +211,7 @@ static QDF_STATUS ocb_tsf_timer(struct ocb_rx_event *evt)
ocb_debug("TSF timer low=%d, high=%d",
tsf_timer->timer_low, tsf_timer->timer_high);
if (cbs && cbs->ocb_get_tsf_timer_callback) {
ocb_debug("%s: send TSF timer.", __func__);
ocb_debug("send TSF timer");
cbs->ocb_get_tsf_timer_callback(cbs->ocb_get_tsf_timer_context,
tsf_timer);
status = QDF_STATUS_SUCCESS;
@ -249,7 +249,7 @@ static QDF_STATUS ocb_dcc_stats_response(struct ocb_rx_event *evt)
cbs = wlan_ocb_get_callbacks(pdev);
dcc_stats = &event->rsp.dcc_stats;
if (cbs && cbs->ocb_dcc_get_stats_callback) {
ocb_debug("%s: send DCC stats", __func__);
ocb_debug("send DCC stats");
cbs->ocb_dcc_get_stats_callback(cbs->ocb_dcc_get_stats_context,
dcc_stats);
status = QDF_STATUS_SUCCESS;
@ -286,7 +286,7 @@ static QDF_STATUS ocb_ndl_response(struct ocb_rx_event *evt)
cbs = wlan_ocb_get_callbacks(pdev);
ndl = &event->rsp.ndl;
if (cbs && cbs->ocb_dcc_update_ndl_callback) {
ocb_debug("%s: NDL update response", __func__);
ocb_debug("NDL update response");
cbs->ocb_dcc_update_ndl_callback(
cbs->ocb_dcc_update_ndl_context, ndl);
status = QDF_STATUS_SUCCESS;
@ -324,7 +324,7 @@ static QDF_STATUS ocb_dcc_indication(struct ocb_rx_event *evt)
cbs = wlan_ocb_get_callbacks(pdev);
dcc_stats = &event->rsp.dcc_stats;
if (cbs && cbs->ocb_dcc_stats_event_callback) {
ocb_debug("%s: DCC stats indication", __func__);
ocb_debug("DCC stats indication");
cbs->ocb_dcc_stats_event_callback(
cbs->ocb_dcc_stats_event_context, dcc_stats);
status = QDF_STATUS_SUCCESS;

View File

@ -416,8 +416,8 @@ pmo_register_action_frame_patterns(struct wlan_objmgr_vdev *vdev,
for (i = 0; i < PMO_SUPPORTED_ACTION_CATE_ELE_LIST; i++) {
if (i < ALLOWED_ACTION_FRAME_MAP_WORDS)
pmo_debug("%s: %d action Wakeup pattern 0x%x in fw",
__func__, i, cmd.action_category_map[i]);
pmo_debug("%d action Wakeup pattern 0x%x in fw",
i, cmd.action_category_map[i]);
else
cmd.action_category_map[i] = 0;
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -36,7 +36,7 @@ target_if_encrypt_decrypt_event_handler(ol_scn_t scn_handle, uint8_t *data,
wmi_unified_t wmi_handle;
if (!data) {
target_if_err("%s: invalid pointer", __func__);
target_if_err("Invalid pointer");
return -EINVAL;
}

View File

@ -63,7 +63,7 @@ target_if_time_sync_ftm_start_stop_event_handler(ol_scn_t scn_handle,
wmi_unified_t wmi_handle;
if (!data) {
target_if_err("%s: invalid pointer", __func__);
target_if_err("Invalid pointer");
return -EINVAL;
}
@ -124,7 +124,7 @@ target_if_time_sync_master_slave_offset_event_handler(ol_scn_t scn_handle,
wmi_unified_t wmi_handle;
if (!data) {
target_if_err("%s: invalid pointer", __func__);
target_if_err("Invalid pointer");
return -EINVAL;
}