[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090806134946.1772dd5a@nehalam>
Date: Thu, 6 Aug 2009 13:49:46 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Krishna Kumar <krkumar2@...ibm.com>
Cc: davem@...emloft.net, Jarek Poplawski <jarkao2@...il.com>,
netdev@...r.kernel.org, herbert@...dor.apana.org.au,
Krishna Kumar <krkumar2@...ibm.com>, kaber@...sh.net
Subject: Re: [PATCH ver2] Avoid enqueuing skb for default qdiscs
On Thu, 06 Aug 2009 17:14:21 +0530
Krishna Kumar <krkumar2@...ibm.com> wrote:
> +static inline int qdisc_qlen(struct Qdisc *q)
> +{
> + return q->q.qlen;
> +}
> +
Why?
This kind of oneline accessor decreases the code clarity.
--
--
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