From: Johannes Berg Date: Wed, 15 Sep 2010 11:28:15 +0000 (+0200) Subject: cfg80211/mac80211: use lockdep_assert_held X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a5ebaf02d69e26ee0f47a0b8d2d9bc619240d4;p=pandora-kernel.git cfg80211/mac80211: use lockdep_assert_held Instead of using a WARN_ON(!mutex_is_locked()) use lockdep_assert_held() which compiles away completely when lockdep isn't enabled, and also is a more accurate assertion since it checks that the current thread is holding the mutex. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed