rc80211_pid_algo.c: remove unused variable declaration
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 18 Aug 2009 14:46:42 +0000 (10:46 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:03 +0000 (11:36 -0400)
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>
net/mac80211/rc80211_pid_algo.c

index f6e25d7d957cb664e269daf92cbc1e36c180d9b6..699d3ed869c4114a95f7a29f8adbea036d2c61a3 100644 (file)
@@ -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;