mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 14:05:39 +00:00
Staging: rtl8192e: Fixup multiple assinment in init_mgmt_queue()
Break multiple assignment into 2 assignment statements to fix checkpatch Warning: multiple assignments should be avoided. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231223015942.418263-8-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb2ebe15b8
commit
7d225068d3
@ -134,7 +134,8 @@ static void enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
|
||||
static void init_mgmt_queue(struct rtllib_device *ieee)
|
||||
{
|
||||
ieee->mgmt_queue_tail = ieee->mgmt_queue_head = 0;
|
||||
ieee->mgmt_queue_tail = 0;
|
||||
ieee->mgmt_queue_head = 0;
|
||||
}
|
||||
|
||||
u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee)
|
||||
@ -1911,6 +1912,7 @@ static void rtllib_link_change_wq(void *data)
|
||||
struct rtllib_device, link_change_wq);
|
||||
ieee->link_change(ieee->dev);
|
||||
}
|
||||
|
||||
/* called only in userspace context */
|
||||
void rtllib_disassociate(struct rtllib_device *ieee)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user