zd1211rw: remove false assertion from zd_mac_clear()
authorOliver Neukum <oneukum@suse.com>
Tue, 13 Aug 2019 12:04:11 +0000 (14:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:38:58 +0000 (16:38 +0300)
commit7a2eb7367fdea72e448d1a847aa857f6caf8ea2f
treee5c10b0cfa16da72f7da6f21f047fa2e469d366d
parent73c742bb9c9ba30871fdd5c730d5ca8b6712833a
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: syzbot+74c65761783d66a9c97c@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/zydas/zd1211rw/zd_mac.c