Home
last modified time | relevance | path

Searched hist:"29209338 b22a61c9ba67badd5f36e96cda1892d8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-rk3x.cdiff 29209338b22a61c9ba67badd5f36e96cda1892d8 Fri Aug 22 12:43:44 CDT 2014 Doug Anderson <dianders@chromium.org> i2c: rk3x: Remove unlikely() annotations

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@gmail.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>