Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751789AbbGMWM1 (ORCPT ); Mon, 13 Jul 2015 18:12:27 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33733 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbbGMWMZ (ORCPT ); Mon, 13 Jul 2015 18:12:25 -0400 From: Andrea Parri To: Jamal Hadi Salim , "David S. Miller" Cc: Paolo Valente , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrea Parri Subject: [PATCH] pkt_sched: sch_qfq: remove unused member of struct qfq_sched Date: Tue, 14 Jul 2015 00:12:05 +0200 Message-Id: <1436825525-13506-1-git-send-email-parri.andrea@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 31 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 Acked-by: Paolo Valente --- net/sched/sch_qfq.c | 1 - 1 file changed, 1 deletion(-) 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 */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/