diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-11-06 12:00:36 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-11-26 16:38:49 +0200 |
commit | b9de521f2da2602a7649d58bc81ed5325f1291f7 (patch) | |
tree | 4cf354a24df4a367907400e6b0eed539afd0d1d8 /drivers/net/wireless/intel/iwlwifi/dvm | |
parent | f9d716443f44238b43559cdd6ba2473560efa44c (diff) | |
download | blackbird-op-linux-b9de521f2da2602a7649d58bc81ed5325f1291f7.tar.gz blackbird-op-linux-b9de521f2da2602a7649d58bc81ed5325f1291f7.zip |
iwlwifi: dvm: remove stray debug code
This code was needed during initial PAN bringup, but now is
just cruft - remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c index b3ad34e8bf5a..a9d8b51419b4 100644 --- a/drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c @@ -1411,13 +1411,7 @@ static void iwlagn_mac_remove_interface(struct ieee80211_hw *hw, mutex_lock(&priv->mutex); - if (WARN_ON(ctx->vif != vif)) { - struct iwl_rxon_context *tmp; - IWL_ERR(priv, "ctx->vif = %p, vif = %p\n", ctx->vif, vif); - for_each_context(priv, tmp) - IWL_ERR(priv, "\tID = %d:\tctx = %p\tctx->vif = %p\n", - tmp->ctxid, tmp, tmp->vif); - } + WARN_ON(ctx->vif != vif); ctx->vif = NULL; iwl_teardown_interface(priv, vif, false); |