[Skiboot] [PATCH 2/4] phb4: Remove pointless NULL checks

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Nov 28 15:23:16 AEDT 2018


On 27/11/18 5:21 pm, Oliver O'Halloran wrote:
> When we allocate the various in-memory tables we assert() on the
> allocation. There's no point in checking if the table pointer is NULL
> or not at runtime.
> 
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>

Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list