From: Chaehyun Lim Date: Thu, 21 Jan 2016 11:30:43 +0000 (+0900) Subject: staging: wilc1000: rename pstrMessge in wilc_mq_destroy X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fca978b718628e5c9ddd0a94f7fdaf7040bea1c4;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: rename pstrMessge in wilc_mq_destroy This patch renames pstrMessge to msg to avoid camelcase. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c index 103fcfd9148a..a01420a9a729 100644 --- a/drivers/staging/wilc1000/wilc_msgqueue.c +++ b/drivers/staging/wilc1000/wilc_msgqueue.c @@ -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;