hdat: Don't display "IPLPARAMS: No serial ports" on OPP
The IPLPARAMs lacking serial ports isn't an error. Since it
never happened on FSP machine and it's not used on BMC ones
there is no need to print a message at all
@@ -924,10 +924,8 @@ static void add_iplparams_serials(const void *iplp, struct dt_node *node)
int count, i;
count = HDIF_get_iarray_size(iplp, IPLPARMS_IDATA_SERIAL);
- if (count <= 0) {
- prerror("IPLPARAMS: No serial ports\n");
+ if (count <= 0)
return;
- }
prlog(PR_INFO, "IPLPARAMS: %d serial ports in array\n", count);
node = dt_new(node, "fsp-serial");
