xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: Wei Liu <wei.liu2@citrix.com>,
	Ian.Campell@eu.citrix.com,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH] libxl: Remove a duplicate calculation of be_path
Date: Tue, 23 Sep 2014 17:46:21 +0100	[thread overview]
Message-ID: <1411490781-19126-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <5411357975a60_122d108b334573c1@209.249.196.67.mail>

Coverity-ID: 1238177
CC: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 tools/libxl/libxl_device.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index 045212f..3425446 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -48,7 +48,6 @@ int libxl__device_exists(libxl__gc *gc, xs_transaction_t t,
     char *be_path = libxl__device_backend_path(gc, device);
     const char *dir;
 
-    be_path = libxl__device_backend_path(gc, device);
     rc = libxl__xs_read_checked(gc, t, be_path, &dir);
 
     if (rc)
-- 
1.7.10.4

       reply	other threads:[~2014-09-23 16:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5411357975a60_122d108b334573c1@209.249.196.67.mail>
2014-09-23 16:46 ` Ian Jackson [this message]
2014-09-23 20:21   ` [PATCH] libxl: Remove a duplicate calculation of be_path Slutz, Donald Christopher
2014-09-24  8:59     ` Ian Campbell

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=1411490781-19126-1-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=Ian.Campell@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).