summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Parri <parri.andrea@gmail.com>2015-07-14 00:12:05 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-15 17:21:31 -0700
commit40bdc5360d0919b537e27d7c3feb78fd784c31f5 (patch)
tree82c4a23629063f30adf90da3acf3d3780d76ab13
parente29dd44325e2fe121088094dcb3055c8d9e5202a (diff)
downloadop-kernel-dev-40bdc5360d0919b537e27d7c3feb78fd784c31f5.zip
op-kernel-dev-40bdc5360d0919b537e27d7c3feb78fd784c31f5.tar.gz
pkt_sched: sch_qfq: remove unused member of struct qfq_sched
The member (u32) "num_active_agg" of struct qfq_sched has been unused since its introduction in 462dbc9101acd38e92eda93c0726857517a24bbd "pkt_sched: QFQ Plus: fair-queueing service at DRR cost" and (AFAICT) there is no active plan to use it; this removes the member. Signed-off-by: Andrea Parri <parri.andrea@gmail.com> Acked-by: Paolo Valente <paolo.valente@unimore.it> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/sched/sch_qfq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/sch_qfq.c b/net/sched/sch_qfq.c
index b8d73bc..ffaeea6 100644
--- a/net/sched/sch_qfq.c
+++ b/net/sched/sch_qfq.c
@@ -186,7 +186,6 @@ struct qfq_sched {
u64 oldV, V; /* Precise virtual times. */
struct qfq_aggregate *in_serv_agg; /* Aggregate being served. */
- u32 num_active_agg; /* Num. of active aggregates */
u32 wsum; /* weight sum */
u32 iwsum; /* inverse weight sum */
OpenPOWER on IntegriCloud