All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maninder Singh <maninder1.s@samsung.com>
To: "mark.hatle@windriver.com" <mark.hatle@windriver.com>
Cc: "v.narang@samsung.com" <v.narang@samsung.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>,
	AKHILESH KUMAR <akhilesh.k@samsung.com>,
	AJEET YADAV <ajeet.y@samsung.com>
Subject: [EDT][prelink-cross][PATCH] cleanup code
Date: Wed, 06 May 2015 05:51:26 +0000 (GMT)	[thread overview]
Message-ID: <389650514.118101430891486083.JavaMail.weblogic@epmlwas03a> (raw)

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

             reply	other threads:[~2015-05-06  5:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06  5:51 Maninder Singh [this message]
2015-09-11 14:09 ` [EDT][prelink-cross][PATCH] cleanup code Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=389650514.118101430891486083.JavaMail.weblogic@epmlwas03a \
    --to=maninder1.s@samsung.com \
    --cc=ajeet.y@samsung.com \
    --cc=akhilesh.k@samsung.com \
    --cc=mark.hatle@windriver.com \
    --cc=v.narang@samsung.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.