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

Mark Hatle mark.hatle at windriver.com
Fri Sep 11 07:09:51 PDT 2015


Merged to the staging branch.

On 5/6/15 12:51 AM, Maninder Singh wrote:
> 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