[Skiboot] [PATCH v2 3/9] FSP LID loading: always remove from lid_loaded list
Stewart Smith
stewart at linux.vnet.ibm.com
Wed May 6 14:00:48 AEST 2015
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
hw/fsp/fsp.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 8ae17e4..54968e2 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -2433,10 +2433,8 @@ int fsp_resource_loaded(enum resource_id id, uint32_t idx)
if (resource) {
rc = resource->result;
- if (rc == OPAL_SUCCESS) {
- list_del(&resource->link);
- free(resource);
- }
+ list_del(&resource->link);
+ free(resource);
}
unlock(&fsp_fetch_lock);
--
1.7.10.4
More information about the Skiboot
mailing list