[PATCH] i2c: rk3x: Remove unlikely() annotations

Wolfram Sang wsa at the-dreams.de
Sat Sep 20 05:17:42 PDT 2014

On Fri, Aug 22, 2014 at 10:43:44AM -0700, Doug Anderson wrote:
> Having a transfer more than 32 bits is not all that unlikely.  Remove
> the annotation.
> The unlikely in the IRQ handler can't gain us much.  It's not in a
> loop, so at most it would save 1 instruction per IRQ, which isn't
> much.  In fact on the compiler I tested it produced the exact same
> code.  Remove it too.
> Suggested-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> Signed-off-by: Doug Anderson <dianders at chromium.org>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20140920/65f1f968/attachment.sig>

More information about the Linux-rockchip mailing list