diff options
-rw-r--r-- | hdata/pcia.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hdata/pcia.c b/hdata/pcia.c index 29a81c1..efcfa7c 100644 --- a/hdata/pcia.c +++ b/hdata/pcia.c @@ -191,7 +191,6 @@ bool pcia_parse(void) { const void *pcia; struct dt_node *cpus; - bool got_pcia = false; /* Check PCIA exists... if not, maybe we are getting a PACA ? */ pcia = get_hdif(&spira.ntuples.pcia, "SPPCIA"); @@ -200,8 +199,6 @@ bool pcia_parse(void) prlog(PR_INFO, "Got PCIA !\n"); - got_pcia = true; - cpus = dt_new(dt_root, "cpus"); dt_add_property_cells(cpus, "#address-cells", 1); dt_add_property_cells(cpus, "#size-cells", 0); @@ -239,5 +236,5 @@ bool pcia_parse(void) if (!add_core_node(cpus, pcia, id, okay)) break; } - return got_pcia; + return true; } |