All of lore.kernel.org
 help / color / mirror / Atom feed
* [EDT][prelink-cross][PATCH] cleanup code
@ 2015-05-06  5:51 Maninder Singh
  2015-09-11 14:09 ` Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Maninder Singh @ 2015-05-06  5:51 UTC (permalink / raw)
  To: mark.hatle@windriver.com
  Cc: v.narang@samsung.com, yocto@yoctoproject.org, AKHILESH KUMAR,
	AJEET YADAV

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@samsung.com>
Reviewed-by: Ajeet Yadav <ajeet.y@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [EDT][prelink-cross][PATCH] cleanup code
  2015-05-06  5:51 [EDT][prelink-cross][PATCH] cleanup code Maninder Singh
@ 2015-09-11 14:09 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2015-09-11 14:09 UTC (permalink / raw)
  To: maninder1.s
  Cc: v.narang@samsung.com, yocto@yoctoproject.org, AKHILESH KUMAR,
	AJEET YADAV

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@samsung.com>
> Reviewed-by: Ajeet Yadav <ajeet.y@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
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-11 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06  5:51 [EDT][prelink-cross][PATCH] cleanup code Maninder Singh
2015-09-11 14:09 ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.