qcacmn: Remove redundant print from scm_update_rnr_info()

Whenever there is a scm_update_rnr_info() function call,
print is flooded in each scan.
It is not giving any additional information.

Remove the print "scm_debug("Failed to get meta, freq %d", freq)"

Change-Id: Id6adda855e1d181704d8c69c10e4d041af758e43
CRs-Fixed: 2761408
This commit is contained in:
Deeksha Gupta 2020-08-24 14:52:28 +05:30 • committed by snandini
commit eaf0cf59d0

View file

@ -1049,11 +1049,7 @@ static void scm_update_rnr_info(struct wlan_objmgr_psoc *psoc,
freq = chan_list->chan[i].freq;
chan = scm_get_chan_meta(psoc, freq);
if (!chan) {
scm_debug("Failed to get meta, freq %d", freq);
continue;
}
if (qdf_list_empty(&chan->rnr_list))
if (!chan || qdf_list_empty(&chan->rnr_list))
continue;
qdf_list_peek_front(&chan->rnr_list, &cur_node);