summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-05 18:42:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-04-07 21:51:40 +0200
commit0e5884458eeadbb48ab3eb1d5f63b4a53a044a95 (patch)
tree75e286229bffd409481864e4c7aac1323aa73e16 /drivers/net/wireless/iwlwifi/iwl-rx.c
parentiwlagn: remove rev_id (diff)
downloadlinux-0e5884458eeadbb48ab3eb1d5f63b4a53a044a95.tar.xz
linux-0e5884458eeadbb48ab3eb1d5f63b4a53a044a95.zip
iwlagn: remove rxb page bookkeeping
We never use the value in alloc_rxb_page, so there's no point in keeping it either. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c
index b5124de99624..c421f566982f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rx.c
@@ -898,7 +898,6 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv,
memcpy(IEEE80211_SKB_RXCB(skb), stats, sizeof(*stats));
ieee80211_rx(priv->hw, skb);
- priv->alloc_rxb_page--;
rxb->page = NULL;
}