OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608b88c
)
rc80211_pid_algo.c: remove unused variable declaration
author
John W. Linville
<linville@tuxdriver.com>
Tue, 18 Aug 2009 14:46:42 +0000
(10:46 -0400)
committer
John 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
patch
|
blob
|
history
diff --git
a/net/mac80211/rc80211_pid_algo.c
b/net/mac80211/rc80211_pid_algo.c
index
f6e25d7
..
699d3ed
100644
(file)
--- 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;