From 79f6d9e60935ce6cea052ab549f5e58f0e58f994 Mon Sep 17 00:00:00 2001 From: Ajit Pal Singh Date: Fri, 15 Feb 2019 19:50:37 +0530 Subject: [PATCH] qcacmn: Reduce hif usb logging Remove function entry/exit logs in hif_send_head(), usb_hif_post_recv_bundle_transfers(), usb_hif_cleanup_recv_urb() and usb_hif_post_recv_transfers(). Change-Id: I5638d99b4c6a3ace792a81957735c3ccd2d405f9 CRs-Fixed: 2398290 --- hif/src/usb/hif_usb.c | 2 -- hif/src/usb/usbdrv.c | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/hif/src/usb/hif_usb.c b/hif/src/usb/hif_usb.c index 952358018f4d..9a666a88aea9 100644 --- a/hif/src/usb/hif_usb.c +++ b/hif/src/usb/hif_usb.c @@ -283,9 +283,7 @@ QDF_STATUS hif_send_head(struct hif_opaque_softc *scn, uint8_t pipe_id, QDF_STATUS status = QDF_STATUS_SUCCESS; struct HIF_DEVICE_USB *device = HIF_GET_USB_DEVICE(scn); - HIF_TRACE("+%s", __func__); status = hif_send_internal(device, pipe_id, NULL, wbuf, nbytes); - HIF_TRACE("-%s", __func__); return status; } diff --git a/hif/src/usb/usbdrv.c b/hif/src/usb/usbdrv.c index 028c0dfa9865..8fabafd1ee24 100644 --- a/hif/src/usb/usbdrv.c +++ b/hif/src/usb/usbdrv.c @@ -512,7 +512,6 @@ void usb_hif_flush_all(struct HIF_DEVICE_USB *device) */ static void usb_hif_cleanup_recv_urb(struct HIF_URB_CONTEXT *urb_context) { - HIF_TRACE("+%s", __func__); if (urb_context->buf != NULL) { qdf_nbuf_free(urb_context->buf); @@ -520,7 +519,6 @@ static void usb_hif_cleanup_recv_urb(struct HIF_URB_CONTEXT *urb_context) } usb_hif_free_urb_to_pipe(urb_context->pipe, urb_context); - HIF_TRACE("-%s", __func__); } /** @@ -919,8 +917,6 @@ static void usb_hif_post_recv_transfers(struct HIF_USB_PIPE *recv_pipe, struct urb *urb; int usb_status; - HIF_TRACE("+%s", __func__); - while (1) { urb_context = usb_hif_alloc_urb_from_pipe(recv_pipe); @@ -964,8 +960,6 @@ static void usb_hif_post_recv_transfers(struct HIF_USB_PIPE *recv_pipe, } } - HIF_TRACE("-%s", __func__); - } /** @@ -984,8 +978,6 @@ static void usb_hif_post_recv_bundle_transfers(struct HIF_USB_PIPE *recv_pipe, struct urb *urb; int usb_status; - HIF_TRACE("+%s", __func__); - while (1) { urb_context = usb_hif_alloc_urb_from_pipe(recv_pipe); @@ -1033,8 +1025,6 @@ static void usb_hif_post_recv_bundle_transfers(struct HIF_USB_PIPE *recv_pipe, } - HIF_TRACE("-%s", __func__); - } /**