[Skiboot] [PATCH v2] Drop NULL check for phb/pd in pci_configure_mps()

Stewart Smith stewart at linux.vnet.ibm.com
Fri Jul 10 14:19:12 AEST 2015


Kamalesh Babulal <kamalesh at linux.vnet.ibm.com> writes:
> Drop the check for NULL as chances of phb/pd being NULL,
> when passed to pci_configure_mps() is zero.
>
> Also fix couple of typo in the file.
>
> Suggested-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Signed-off-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>
> Cc: Samuel Mendoza-Jonas <sam.mj at au1.ibm.com>

Thanks, merged but with change of converting it to an assert rather than
if(). Merged as b2f4e01



More information about the Skiboot mailing list