qcacmn: utils: Remove redundant __func__ from the logs
1. 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. 2. Instead of adding __func__ to the qdf_nofl_* macros, its better to use qdf_* which already takes care of adding __func__. Change-Id: If5717c811016845b5cffcf3fdc97805f3a1b731b CRs-Fixed: 2774457
This commit is contained in:

committed by
snandini

parent
99cdc9aeff
commit
51ba6fe67c
@@ -86,7 +86,7 @@ void pktlog_getbuf_intsafe(struct ath_pktlog_arg *plarg)
|
||||
#endif
|
||||
|
||||
if (!plarg) {
|
||||
qdf_nofl_info("Invalid parg in %s", __func__);
|
||||
qdf_info("Invalid parg");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ void pktlog_getbuf_intsafe(struct ath_pktlog_arg *plarg)
|
||||
flags = plarg->flags;
|
||||
|
||||
if (!log_buf) {
|
||||
qdf_nofl_info("Invalid log_buf in %s", __func__);
|
||||
qdf_info("Invalid log_buf");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user