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

staging: wilc1000: rename pstrMessge in wilc_mq_destroy

This patch renames pstrMessge to 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 d742f67e
......@@ -38,10 +38,10 @@ int wilc_mq_destroy(struct message_queue *mq)
}
while (mq->msg_list) {
struct message *pstrMessge = mq->msg_list->next;
struct message *msg = mq->msg_list->next;
kfree(mq->msg_list);
mq->msg_list = pstrMessge;
mq->msg_list = msg;
}
return 0;
......
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