mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
wireless: zd1211rw: remove redundant assignment of pointer 'q'
Pointer q is initialized and then almost immediately afterwards being re-assigned the same value. Remove the second redundant assignment. Cleans up clang warning: drivers/net/wireless/zydas/zd1211rw/zd_mac.c:503:23: warning: Value stored to 'q' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
94907e8d13
commit
76d1f95983
1 changed files with 0 additions and 1 deletions
|
|
@ -509,7 +509,6 @@ void zd_mac_tx_failed(struct urb *urb)
|
|||
int found = 0;
|
||||
int i, position = 0;
|
||||
|
||||
q = &mac->ack_wait_queue;
|
||||
spin_lock_irqsave(&q->lock, flags);
|
||||
|
||||
skb_queue_walk(q, skb) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue