qcacmn: hal: 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: I6b5beea990e78486e1e5aab5a8df5fc2f1e5ab51
CRs-Fixed: 2774457
This commit is contained in:
Srinivas Girigowda
2020-09-03 12:57:52 -07:00
committed by snandini
parent 51ba6fe67c
commit 5040a3b6ed
3 changed files with 7 additions and 9 deletions

View File

@@ -271,7 +271,7 @@ static inline void hal_write32_mb(struct hal_soc *hal_soc, uint32_t offset,
if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC(
hal_soc->hif_handle))) {
hal_err_rl("%s: target access is not allowed", __func__);
hal_err_rl("target access is not allowed");
return;
}
@@ -331,7 +331,7 @@ static inline void hal_write32_mb_confirm(struct hal_soc *hal_soc,
if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC(
hal_soc->hif_handle))) {
hal_err_rl("%s: target access is not allowed", __func__);
hal_err_rl("target access is not allowed");
return;
}
@@ -491,7 +491,7 @@ uint32_t hal_read32_mb(struct hal_soc *hal_soc, uint32_t offset)
if (!TARGET_ACCESS_ALLOWED(HIF_GET_SOFTC(
hal_soc->hif_handle))) {
hal_err_rl("%s: target access is not allowed", __func__);
hal_err_rl("target access is not allowed");
return 0;
}