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

2014-09-20 Thread Wolfram Sang
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

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

2014-08-22 Thread Doug Anderson
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. Remov