From: John W. Linville Date: Tue, 18 Aug 2009 14:46:42 +0000 (-0400) Subject: rc80211_pid_algo.c: remove unused variable declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=29508d122a5228c2a68d1e9a39251d3991b3cfef;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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;