From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH] libxl: Remove a duplicate calculation of be_path Date: Tue, 23 Sep 2014 17:46:21 +0100 Message-ID: <1411490781-19126-1-git-send-email-ian.jackson@eu.citrix.com> References: <5411357975a60_122d108b334573c1@209.249.196.67.mail> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5411357975a60_122d108b334573c1@209.249.196.67.mail> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: Wei Liu , Ian.Campell@eu.citrix.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org Coverity-ID: 1238177 CC: Wei Liu Signed-off-by: Ian Jackson --- 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