Commit bd07b007 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pstrTailMsg in wilc_mq_send

This patch renames pstrTailMsg to tail_msg to avoid camelcase.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 669fd507
...@@ -88,12 +88,12 @@ int wilc_mq_send(struct message_queue *mq, ...@@ -88,12 +88,12 @@ int wilc_mq_send(struct message_queue *mq,
if (!mq->msg_list) { if (!mq->msg_list) {
mq->msg_list = new_msg; mq->msg_list = new_msg;
} else { } else {
struct message *pstrTailMsg = mq->msg_list; struct message *tail_msg = mq->msg_list;
while (pstrTailMsg->next) while (tail_msg->next)
pstrTailMsg = pstrTailMsg->next; tail_msg = tail_msg->next;
pstrTailMsg->next = new_msg; tail_msg->next = new_msg;
} }
spin_unlock_irqrestore(&mq->lock, flags); spin_unlock_irqrestore(&mq->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment