Re: [PATCH] net: code cleanups
From: Changli Gao <hidden>
Date: 2010-09-30 03:08:10
From: Changli Gao <hidden>
Date: 2010-09-30 03:08:10
On Thu, Sep 30, 2010 at 10:49 AM, Joe Perches [off-list ref] wrote:
On Thu, 2010-09-30 at 10:24 +0800, Changli Gao wrote:quoted
Compare operations are more readable, and compilers generate the same code for the both.As far as I know, not all supported versions of gcc generate the same code.
Is the former better for the compilers?
Also, you could probably now remove the (__force u32) casts.
Maybe Eric doesn't think so. -- Regards, Changli Gao(xiaosuo@gmail.com)