qcacld-3.0: Remove unnecessary prints from data path

1. Remove error prints for qdf_mem_malloc APIs.
2. Remove unnecessary __func__ from data path prints.

Change-Id: I6c4b110f626d84da055821c5f210a3d000b6ff15
CRs-Fixed: 2317315
This commit is contained in:
Nirav Shah
2018-09-10 16:01:31 +05:30
committed by nshrivas
父節點 e7860df2b8
當前提交 7c8c171e05
共有 26 個文件被更改,包括 193 次插入330 次删除

查看文件

@@ -72,10 +72,9 @@ struct htt_htc_pkt *htt_htc_pkt_alloc(struct htt_pdev_t *pdev)
if (pkt == NULL)
pkt = qdf_mem_malloc(sizeof(*pkt));
if (!pkt) {
qdf_print("%s: HTC packet allocation failed\n", __func__);
if (!pkt)
return NULL;
}
htc_packet_set_magic_cookie(&(pkt->u.pkt.htc_pkt), 0);
return &pkt->u.pkt; /* not actually a dereference */
}
@@ -85,7 +84,7 @@ void htt_htc_pkt_free(struct htt_pdev_t *pdev, struct htt_htc_pkt *pkt)
struct htt_htc_pkt_union *u_pkt = (struct htt_htc_pkt_union *)pkt;
if (!u_pkt) {
qdf_print("%s: HTC packet is NULL\n", __func__);
qdf_print("HTC packet is NULL");
return;
}