File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
220220{
221221 struct ieee80211_if_ibss * ifibss = & sdata -> u .ibss ;
222222 struct ieee80211_local * local = sdata -> local ;
223- struct ieee80211_supported_band * sband ;
224223 struct ieee80211_mgmt * mgmt ;
225224 struct cfg80211_bss * bss ;
226225 u32 bss_change ;
@@ -307,8 +306,6 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
307306
308307 memcpy (ifibss -> bssid , bssid , ETH_ALEN );
309308
310- sband = local -> hw .wiphy -> bands [chan -> band ];
311-
312309 presp = ieee80211_ibss_build_presp (sdata , beacon_int , basic_rates ,
313310 capability , tsf , & chandef ,
314311 & have_higher_than_11mbit , NULL );
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ static void ieee80211_tx_latency_end_msrmnt(struct ieee80211_local *local,
479479 u32 msrmnt ;
480480 u16 tid ;
481481 u8 * qc ;
482- int i , bin_range_count , bin_count ;
482+ int i , bin_range_count ;
483483 u32 * bin_ranges ;
484484 __le16 fc ;
485485 struct ieee80211_tx_latency_stat * tx_lat ;
@@ -522,7 +522,6 @@ static void ieee80211_tx_latency_end_msrmnt(struct ieee80211_local *local,
522522 /* count how many Tx frames transmitted with the appropriate latency */
523523 bin_range_count = tx_latency -> n_ranges ;
524524 bin_ranges = tx_latency -> ranges ;
525- bin_count = tx_lat -> bin_count ;
526525
527526 for (i = 0 ; i < bin_range_count ; i ++ ) {
528527 if (msrmnt <= bin_ranges [i ]) {
Original file line number Diff line number Diff line change @@ -1374,7 +1374,6 @@ u32 ieee80211_sta_get_rates(struct ieee80211_sub_if_data *sdata,
13741374 enum ieee80211_band band , u32 * basic_rates )
13751375{
13761376 struct ieee80211_supported_band * sband ;
1377- struct ieee80211_rate * bitrates ;
13781377 size_t num_rates ;
13791378 u32 supp_rates , rate_flags ;
13801379 int i , j , shift ;
@@ -1386,7 +1385,6 @@ u32 ieee80211_sta_get_rates(struct ieee80211_sub_if_data *sdata,
13861385 if (WARN_ON (!sband ))
13871386 return 1 ;
13881387
1389- bitrates = sband -> bitrates ;
13901388 num_rates = sband -> n_bitrates ;
13911389 supp_rates = 0 ;
13921390 for (i = 0 ; i < elems -> supp_rates_len +
You can’t perform that action at this time.
0 commit comments