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)
commit2f115cf24ea3f5010f7361d2098545edf7a07add
treee545611c15def73064504feb1825715dd5712acb
parentb23b025fe246f3acc2988eb6d400df34c27cb8ae
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