]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename pstrMessge in wilc_mq_destroy
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 21 Jan 2016 11:30:43 +0000 (20:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:21:18 +0000 (15:21 -0800)
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>
drivers/staging/wilc1000/wilc_msgqueue.c

index 103fcfd9148ad2ec553b2dfecae36bfc0e87951e..a01420a9a729dbaf0362737286500e93de9e8650 100644 (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;