staging: wilc1000: rename pstrMessge in wilc_mq_destroy

This patch renames pstrMessge to msg to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chaehyun Lim 2016-01-21 20:30:43 +09:00 committed by Greg Kroah-Hartman
parent d742f67ee1
commit fca978b718

View File

@ -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;