[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1360341314.28557.99.camel@edumazet-glaptop>
Date: Fri, 08 Feb 2013 08:35:14 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
jhs@...atatu.com, kuznet@....inr.ac.ru
Subject: Re: [patch net-next 3/7] htb: remove pointless first initialization
of buffer and cbuffer
On Fri, 2013-02-08 at 13:58 +0100, Jiri Pirko wrote:
> these are initialized correctly couple of lines later in the function.
>
> Signed-off-by: Jiri Pirko <jiri@...nulli.us>
> ---
> net/sched/sch_htb.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
> index 14a83dc..547912e9 100644
> --- a/net/sched/sch_htb.c
> +++ b/net/sched/sch_htb.c
> @@ -1503,9 +1503,6 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
> cl->prio = TC_HTB_NUMPRIO - 1;
> }
>
> - cl->buffer = hopt->buffer;
> - cl->cbuffer = hopt->cbuffer;
> -
> cl->rate.rate_bps = (u64)hopt->rate.rate << 3;
> cl->ceil.rate_bps = (u64)hopt->ceil.rate << 3;
>
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists