mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 07:36:46 +07:00
staging: wilc1000: rename pstrTailMsg in wilc_mq_send
This patch renames pstrTailMsg to tail_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
669fd5077f
commit
bd07b0076b
@ -88,12 +88,12 @@ int wilc_mq_send(struct message_queue *mq,
|
||||
if (!mq->msg_list) {
|
||||
mq->msg_list = new_msg;
|
||||
} else {
|
||||
struct message *pstrTailMsg = mq->msg_list;
|
||||
struct message *tail_msg = mq->msg_list;
|
||||
|
||||
while (pstrTailMsg->next)
|
||||
pstrTailMsg = pstrTailMsg->next;
|
||||
while (tail_msg->next)
|
||||
tail_msg = tail_msg->next;
|
||||
|
||||
pstrTailMsg->next = new_msg;
|
||||
tail_msg->next = new_msg;
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore(&mq->lock, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user