summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-01-21 12:30:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-04 00:21:18 +0100
commitfca978b718628e5c9ddd0a94f7fdaf7040bea1c4 (patch)
treea27ae3511c88e8d4e42a887c9846b5231ba54409
parentstaging: wilc1000: rename pHandle in wilc_mq_destroy (diff)
downloadlinux-fca978b718628e5c9ddd0a94f7fdaf7040bea1c4.tar.xz
linux-fca978b718628e5c9ddd0a94f7fdaf7040bea1c4.zip
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>
-rw-r--r--drivers/staging/wilc1000/wilc_msgqueue.c4
1 files changed, 2 insertions, 2 deletions
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;