[yocto] [EDT][prelink-cross][PATCH] cleanup code

Maninder Singh maninder1.s at samsung.com
Tue May 5 22:51:26 PDT 2015


EP-F6AA0618C49C4AEDA73BFF1B39950BAB
Hi,

Remove dso NULL check because before calling this API
already checking for dso NULL and also dso pointer is used before this check.

Signed-off-by: Akhilesh Kumar <akhilesh.k at samsung.com>
Reviewed-by: Ajeet Yadav <ajeet.y at samsung.com>
---
 trunk/src/gather.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/trunk/src/gather.c b/trunk/src/gather.c
index c3d3128..8f310f6 100644
--- a/trunk/src/gather.c
+++ b/trunk/src/gather.c
@@ -561,7 +561,6 @@ make_unprelinkable:

       assert (ent->type == ET_NONE);
       ent->type = ET_UNPRELINKABLE;
-      if (dso)
    close_dso (dso);
       return 0;
     }
--
1.7.1

Thanks 
Maninder Singh


More information about the yocto mailing list