diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-07 21:10:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-08 22:32:19 -0700 |
commit | 018e5b458723d04cbeadbc3f0e06eba85798f427 (patch) | |
tree | 3ff7aaa6d32ab61b4cb1c29ea32ed152dfd0445a /drivers/net/ethernet/realtek/r8169_main.c | |
parent | mlxsw: spectrum: Extend to support Spectrum-3 ASIC (diff) | |
download | linux-dev-018e5b458723d04cbeadbc3f0e06eba85798f427.tar.xz linux-dev-018e5b458723d04cbeadbc3f0e06eba85798f427.zip |
fq_codel: remove set but not used variables 'prev_ecn_mark' and 'prev_drop_count'
Fixes gcc '-Wunused-but-set-variable' warning:
net/sched/sch_fq_codel.c: In function fq_codel_dequeue:
net/sched/sch_fq_codel.c:288:23: warning: variable prev_ecn_mark set but not used [-Wunused-but-set-variable]
net/sched/sch_fq_codel.c:288:6: warning: variable prev_drop_count set but not used [-Wunused-but-set-variable]
They are not used since commit 77ddaff218fc ("fq_codel: Kill
useless per-flow dropped statistic")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions