commit | 02c0fc1b8f41e6e895d6573615ba8ff549b685d2 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Mon Oct 06 17:01:33 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 07 00:10:49 2014 -0400 |
tree | e3fdb0296ca14cbff970df355798c7bbf75681d8 | |
parent | 7c5df8fa1921450d2210db9928f43cf4f414982c [diff] |
net_sched: fix unused variables in __gnet_stats_copy_basic_cpu() Probably not a big deal, but we'd better just use the one we get in retry loop. Fixes: commit 22e0f8b9322cb1a48b1357e8 ("net: sched: make bstats per cpu and estimator RCU safe") Reported-by: Joe Perches <joe@perches.com> Cc: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>