diff options
author | Neelesh Gupta <neelegup@linux.vnet.ibm.com> | 2015-05-18 21:19:34 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-20 13:44:01 +1000 |
commit | c1237f53f6ffff46a5711ca55c6f6c6855d3c85b (patch) | |
tree | c77f62f8f53be4ab295621064ec8616f3d40af05 /hdata/pcia.c | |
parent | 537e006a8d7f8210ca096701dafd86ce04b1a86b (diff) | |
download | skiboot-c1237f53f6ffff46a5711ca55c6f6c6855d3c85b.zip skiboot-c1237f53f6ffff46a5711ca55c6f6c6855d3c85b.tar.gz skiboot-c1237f53f6ffff46a5711ca55c6f6c6855d3c85b.tar.bz2 |
hdata: Remove unnecessary bool
Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/pcia.c')
-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; } |