staging: wilc1000: rename pHandle in wilc_mq_create
[deliverable/linux.git] / drivers / staging / wilc1000 / wilc_msgqueue.c
index d13c9a76ab92a18489a4b7b1c294d6d46f752952..453fa197738d2e20a29d73c69dcf4b18d2079d5a 100644 (file)
  *  @note              copied from FLO glue implementatuion
  *  @version           1.0
  */
-int wilc_mq_create(struct message_queue *pHandle)
+int wilc_mq_create(struct message_queue *mq)
 {
-       spin_lock_init(&pHandle->lock);
-       sema_init(&pHandle->sem, 0);
-       pHandle->msg_list = NULL;
-       pHandle->recv_count = 0;
-       pHandle->exiting = false;
+       spin_lock_init(&mq->lock);
+       sema_init(&mq->sem, 0);
+       mq->msg_list = NULL;
+       mq->recv_count = 0;
+       mq->exiting = false;
        return 0;
 }
 
This page took 0.025028 seconds and 5 git commands to generate.