summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/pciehp_pci.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-09-28 14:34:57 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-29 15:01:55 +1000
commit149ba66a90a3b3cf8595ba8f0b2e4b2131e1681e (patch)
tree66d73c7be41b4e68520711e5c138d75bb2c9a37f /drivers/pci/hotplug/pciehp_pci.c
parent313483dd72289ff0b7dff4207032d94dbce39cf6 (diff)
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>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_pci.c')
0 files changed, 0 insertions, 0 deletions