Skip to content

Commit

Permalink
iwlwifi: remove notif_missed_beacons variable
Browse files Browse the repository at this point in the history
This patch removes notif_missed_beacons from priv since it was never
used. Missed beacons notification will have only meaning if roaming
will be implemented in mac80211.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jun 3, 2008
1 parent c317fee commit 84df9d3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-3945.h
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,6 @@ struct iwl3945_priv {

u8 mac80211_registered;

u32 notif_missed_beacons;

/* Rx'd packet timing information */
u32 last_beacon_time;
u64 last_tsf;
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -1125,8 +1125,6 @@ struct iwl_priv {

u8 mac80211_registered;

u32 notif_missed_beacons;

/* Rx'd packet timing information */
u32 last_beacon_time;
u64 last_tsf;
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -5847,9 +5847,6 @@ static void iwl3945_alive_start(struct iwl3945_priv *priv)
/* Configure the adapter for unassociated operation */
iwl3945_commit_rxon(priv);

/* At this point, the NIC is initialized and operational */
priv->notif_missed_beacons = 0;

iwl3945_reg_txpower_periodic(priv);

iwl3945_led_register(priv);
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -3314,8 +3314,6 @@ static void iwl4965_alive_start(struct iwl_priv *priv)
iwl4965_commit_rxon(priv);

/* At this point, the NIC is initialized and operational */
priv->notif_missed_beacons = 0;

iwl4965_rf_kill_ct_config(priv);

iwl_leds_register(priv);
Expand Down

0 comments on commit 84df9d3

Please sign in to comment.