summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-04-23 14:25:51 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-23 14:27:56 -0700
commit56322f5e0d08476f72981f84dd0c784a830163a2 (patch)
tree8a6b430ad767ff7e47c333e4cd71b05e80b35747 /drivers/net/wireless/iwlwifi/iwl-agn-tx.c
parent063c51667f4f1f17e277add5cefb4cbe97108d40 (diff)
downloadblackbird-op-linux-56322f5e0d08476f72981f84dd0c784a830163a2.tar.gz
blackbird-op-linux-56322f5e0d08476f72981f84dd0c784a830163a2.zip
iwlwifi: remove TX/RX frame statistics
Keeping statistics per frame type really isn't very useful, and needs a huge amount of code so remove it. Since that is the only thing in iwl-core.{c,h} now, those files can be killed. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index 2a2ac152cc75..587cfe6739a8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -34,7 +34,6 @@
#include <linux/ieee80211.h>
#include "iwl-dev.h"
-#include "iwl-core.h"
#include "iwl-io.h"
#include "iwl-agn-hw.h"
#include "iwl-agn.h"
@@ -399,8 +398,6 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
iwlagn_tx_cmd_build_rate(priv, tx_cmd, info, fc);
- iwl_update_stats(priv, true, fc, len);
-
memset(&info->status, 0, sizeof(info->status));
info->driver_data[0] = ctx;
OpenPOWER on IntegriCloud