[Skiboot] [PATCH 4/4] PCI: Remove pci_put_phb()

Stewart Smith stewart at linux.vnet.ibm.com
Tue May 3 19:08:34 AEST 2016


Gavin Shan <gwshan at linux.vnet.ibm.com> writes:

> pci_{get,put}_phb() were introduced to increase/decrease refcount or
> similar thing to PHB. They should show up in pairs and some code is
> obvious breaking the semantics, but the logic is good as pci_put_phb()
> does nothing.
>
> As we do not maintain refcount for PHB and we should not have PHB
> unplugging in near future, it simply drops pci_put_phb(). No functional
> changes introduced.
>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> ---
>  core/pci-opal.c | 27 ---------------------------
>  include/pci.h   |  1 -
>  2 files changed, 28 deletions(-)

Merged to master as of 1abcd49

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list