summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-08-18 16:46:42 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 17:36:03 +0200
commit29508d122a5228c2a68d1e9a39251d3991b3cfef (patch)
treedb2a2a8bf90e470397428be61a1404c10779defb
parentath: move regulatory info into shared common structure (diff)
downloadlinux-29508d122a5228c2a68d1e9a39251d3991b3cfef.tar.xz
linux-29508d122a5228c2a68d1e9a39251d3991b3cfef.zip
rc80211_pid_algo.c: remove unused variable declaration
CC [M] net/mac80211/rc80211_pid_algo.o net/mac80211/rc80211_pid_algo.c: In function ‘rate_control_pid_rate_init’: net/mac80211/rc80211_pid_algo.c:304: warning: unused variable ‘si’ Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/mac80211/rc80211_pid_algo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index f6e25d7d957c..699d3ed869c4 100644
--- a/net/mac80211/rc80211_pid_algo.c
+++ b/net/mac80211/rc80211_pid_algo.c
@@ -301,7 +301,6 @@ rate_control_pid_rate_init(void *priv, struct ieee80211_supported_band *sband,
struct rc_pid_sta_info *spinfo = priv_sta;
struct rc_pid_info *pinfo = priv;
struct rc_pid_rateinfo *rinfo = pinfo->rinfo;
- struct sta_info *si;
int i, j, tmp;
bool s;