From 7fb196901782e8fcd6c82b63746465c66cb3ac55 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Mon, 24 Apr 2017 18:14:56 -0700 Subject: [PATCH] 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 --- scheduler/src/scheduler_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scheduler/src/scheduler_core.c b/scheduler/src/scheduler_core.c index 25193714a8..91b2947821 100644 --- a/scheduler/src/scheduler_core.c +++ b/scheduler/src/scheduler_core.c @@ -287,7 +287,7 @@ static void scheduler_thread_process_queues(struct scheduler_ctx *sch_ctx, { int i; QDF_STATUS vStatus = QDF_STATUS_E_FAILURE; - struct scheduler_msg_wrapper *pMsgWrapper = NULL; + struct scheduler_msg_wrapper *msg_wrapper = NULL; if (!sch_ctx) { QDF_ASSERT(0); @@ -321,17 +321,17 @@ static void scheduler_thread_process_queues(struct scheduler_ctx *sch_ctx, i++; continue; } - pMsgWrapper = + msg_wrapper = 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_LEVEL_ERROR, - "%s: pMsgWrapper is NULL", __func__); + "%s: msg_wrapper is NULL", __func__); QDF_ASSERT(0); return; } 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_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); } /* 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 */