drivers/pci/hotplug: Remove likely() and unlikely() in powernv driver
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 28 Sep 2016 04:34:57 +0000 (14:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 29 Sep 2016 05:01:55 +0000 (15:01 +1000)
commit149ba66a90a3b3cf8595ba8f0b2e4b2131e1681e
tree66d73c7be41b4e68520711e5c138d75bb2c9a37f
parent313483dd72289ff0b7dff4207032d94dbce39cf6
drivers/pci/hotplug: Remove likely() and unlikely() in powernv driver

This removes likely() and unlikely() in pnv_php.c as the code isn't
running in hot path. Those macros to affect CPU's branch stream don't
help a lot for performance. I used them to identify the cases are
likely or unlikely to happen. No logical changes introduced.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/pci/hotplug/pnv_php.c