[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081203.002046.153795689.davem@davemloft.net>
Date: Wed, 03 Dec 2008 00:20:46 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: devik@....cz, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH 4/3 v2] pkt_sched: sch_htb: Clean L2T()
From: Jarek Poplawski <jarkao2@...il.com>
Date: Wed, 3 Dec 2008 07:54:33 +0000
> On Tue, Dec 02, 2008 at 11:25:22PM -0800, David Miller wrote:
> ...
> > Jarek, please just kill the macro and expand the calculation inline.
>
> Hmm.. no problem... unless you think about the other macro?
You misunderstood me.
I meant get rid of L2T completely, and just use
"qdisc_l2t(rate, size)" directly.
Macros like this one:
1) are used in only one spot
2) give no new information to the reader
so are just extra noise.
--
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