• Lance Roy's avatar
    zd1211rw: Replace spin_is_locked() with lockdep · 209e957b
    Lance Roy authored
    lockdep_assert_held() is better suited to checking locking requirements,
    since it won't get confused when someone else holds the lock. This is
    also a step towards possibly removing spin_is_locked().
    Signed-off-by: default avatarLance Roy <ldr709@gmail.com>
    Cc: Daniel Drake <dsd@gentoo.org>
    Cc: Ulrich Kunitz <kune@deine-taler.de>
    Cc: Kalle Valo <kvalo@codeaurora.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: <linux-wireless@vger.kernel.org>
    Cc: <netdev@vger.kernel.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    209e957b
zd_mac.c 40.3 KB