pkt_sched: sch_qfq: remove unused member of struct qfq_sched
authorAndrea Parri <parri.andrea@gmail.com>
Mon, 13 Jul 2015 22:12:05 +0000 (00:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jul 2015 00:21:31 +0000 (17:21 -0700)
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>
net/sched/sch_qfq.c

index b8d73bca683cc25d946163d9e856d8ed332ad4d7..ffaeea63d47381c480a7c97e00c64c7a4eb6e80d 100644 (file)
@@ -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 */