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:
parent
d742f67ee1
commit
fca978b718
@ -38,10 +38,10 @@ int wilc_mq_destroy(struct message_queue *mq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (mq->msg_list) {
|
while (mq->msg_list) {
|
||||||
struct message *pstrMessge = mq->msg_list->next;
|
struct message *msg = mq->msg_list->next;
|
||||||
|
|
||||||
kfree(mq->msg_list);
|
kfree(mq->msg_list);
|
||||||
mq->msg_list = pstrMessge;
|
mq->msg_list = msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user