Skip to content

Commit 7d22506

Browse files
treedaviesgregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent eb2ebe1 commit 7d22506

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ static void enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb)
134134

135135
static void init_mgmt_queue(struct rtllib_device *ieee)
136136
{
137-
ieee->mgmt_queue_tail = ieee->mgmt_queue_head = 0;
137+
ieee->mgmt_queue_tail = 0;
138+
ieee->mgmt_queue_head = 0;
138139
}
139140

140141
u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee)
@@ -1911,6 +1912,7 @@ static void rtllib_link_change_wq(void *data)
19111912
struct rtllib_device, link_change_wq);
19121913
ieee->link_change(ieee->dev);
19131914
}
1915+
19141916
/* called only in userspace context */
19151917
void rtllib_disassociate(struct rtllib_device *ieee)
19161918
{

0 commit comments

Comments
 (0)