aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2019-08-13 14:04:11 +0200
committerKalle Valo <[email protected]>2019-09-03 16:38:58 +0300
commit7a2eb7367fdea72e448d1a847aa857f6caf8ea2f (patch)
treee5c10b0cfa16da72f7da6f21f047fa2e469d366d
parent73c742bb9c9ba30871fdd5c730d5ca8b6712833a (diff)
zd1211rw: remove false assertion from zd_mac_clear()
The function is called before the lock which is asserted was ever used. Just remove it. Reported-by: [email protected] Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
-rw-r--r--drivers/net/wireless/zydas/zd1211rw/zd_mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_mac.c b/drivers/net/wireless/zydas/zd1211rw/zd_mac.c
index da7e63fca9f5..a9999d10ae81 100644
--- a/drivers/net/wireless/zydas/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zydas/zd1211rw/zd_mac.c
@@ -223,7 +223,6 @@ void zd_mac_clear(struct zd_mac *mac)
{
flush_workqueue(zd_workqueue);
zd_chip_clear(&mac->chip);
- lockdep_assert_held(&mac->lock);
ZD_MEMCLEAR(mac, sizeof(struct zd_mac));
}