qcacmn: Rename pMsgWrapper to linux style variable name

In scheduler core message processor rename camel case variable name
pMsgWrapper to msg_wrapper.

Change-Id: Ica6715d9b14a807fdabc2da302de6ead4509aef8
CRs-Fixed: 2037958
This commit is contained in:
Rajeev Kumar
2017-04-24 18:14:56 -07:00
committed by snandini
parent 50ec704606
commit 7fb1969017

View File

@@ -287,7 +287,7 @@ static void scheduler_thread_process_queues(struct scheduler_ctx *sch_ctx,
{ {
int i; int i;
QDF_STATUS vStatus = QDF_STATUS_E_FAILURE; QDF_STATUS vStatus = QDF_STATUS_E_FAILURE;
struct scheduler_msg_wrapper *pMsgWrapper = NULL; struct scheduler_msg_wrapper *msg_wrapper = NULL;
if (!sch_ctx) { if (!sch_ctx) {
QDF_ASSERT(0); QDF_ASSERT(0);
@@ -321,17 +321,17 @@ static void scheduler_thread_process_queues(struct scheduler_ctx *sch_ctx,
i++; i++;
continue; continue;
} }
pMsgWrapper = msg_wrapper =
scheduler_mq_get(&sch_ctx->queue_ctx.sch_msg_q[i]); scheduler_mq_get(&sch_ctx->queue_ctx.sch_msg_q[i]);
if (pMsgWrapper == NULL) { if (msg_wrapper == NULL) {
QDF_TRACE(QDF_MODULE_ID_SCHEDULER, QDF_TRACE(QDF_MODULE_ID_SCHEDULER,
QDF_TRACE_LEVEL_ERROR, QDF_TRACE_LEVEL_ERROR,
"%s: pMsgWrapper is NULL", __func__); "%s: msg_wrapper is NULL", __func__);
QDF_ASSERT(0); QDF_ASSERT(0);
return; return;
} }
if (sch_ctx->queue_ctx.scheduler_msg_process_fn[i]) { if (sch_ctx->queue_ctx.scheduler_msg_process_fn[i]) {
struct scheduler_msg *msg = pMsgWrapper->msg_buf; struct scheduler_msg *msg = msg_wrapper->msg_buf;
sch_ctx->watchdog_msg_type = msg->type; sch_ctx->watchdog_msg_type = msg->type;
sch_ctx->watchdog_callback = msg->callback; sch_ctx->watchdog_callback = msg->callback;
@@ -348,7 +348,7 @@ static void scheduler_thread_process_queues(struct scheduler_ctx *sch_ctx,
sch_ctx->queue_ctx.sch_msg_q[i].qid); sch_ctx->queue_ctx.sch_msg_q[i].qid);
} }
/* return message to the Core */ /* return message to the Core */
scheduler_core_return_msg(sch_ctx, pMsgWrapper); scheduler_core_return_msg(sch_ctx, msg_wrapper);
} }
/* start again with highest priority queue at index 0 */ /* start again with highest priority queue at index 0 */