]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: remove unnecessary locking
authorJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2011 14:57:45 +0000 (06:57 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sun, 6 Feb 2011 17:30:54 +0000 (09:30 -0800)
commitfb7008451dcdca9a7f47ec7bb0bfbae73361f6f4
treee545611c15def73064504feb1825715dd5712acb
parent41cf86ae9799268573e7a9715e10d698cb922be4
iwlwifi: remove unnecessary locking

This code, and the places that set the variable
is_internal_short_scan and the vif pointers are
all protected by the mutex, there's no point in
locking the spinlock here as well (any more).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
drivers/net/wireless/iwlwifi/iwl3945-base.c