[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 28 Aug 2017 21:25:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhangshengju@...s.chinamobile.com
Cc: sathya.perla@...adcom.com, ajit.khaparde@...adcom.com,
sriharsha.basavapatna@...adcom.com, netdev@...r.kernel.org
Subject: Re: [net-next] be2net: use shift instead of expensive divide
From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Date: Tue, 29 Aug 2017 11:18:39 +0800
> Replace shift instead of expensive divide.
>
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
The divide is more easier to understand, and it costs the same
as a shift if the types are unsigned.
I'm not applying silly changes like this which actually make
the code worse off, sorry.
Powered by blists - more mailing lists