WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] ioemu: Clean up after cset 17646:e3b13e1ecf6c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] ioemu: Clean up after cset 17646:e3b13e1ecf6c
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Thu, 26 Jun 2008 15:04:37 -0400
Cc: Ian.Jackson@xxxxxxxxxxxxx
Delivery-date: Thu, 26 Jun 2008 12:05:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Remove redundant code.

Signed-off-by: Markus Armbruster <armbru@xxxxxxxxxx>

diff -r 926a366ca82f tools/ioemu/xenstore.c
--- a/tools/ioemu/xenstore.c    Fri Jun 20 15:21:26 2008 +0100
+++ b/tools/ioemu/xenstore.c    Thu Jun 26 14:59:48 2008 -0400
@@ -260,8 +260,6 @@ void xenstore_parse_domain_config(int hv
                    /* autoguess qcow vs qcow2 */
                } else if (!strcmp(drv,"file") || !strcmp(drv,"phy")) {
                    format = &bdrv_raw;
-               } else if (!strcmp(drv,"phy")) {
-                   format = &bdrv_raw;
                } else {
                    format = bdrv_find_format(drv);
                    if (!format) {

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] ioemu: Clean up after cset 17646:e3b13e1ecf6c, Markus Armbruster <=