From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCyQe-0000kd-UG for qemu-devel@nongnu.org; Fri, 14 May 2010 13:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCyQd-0001zc-HL for qemu-devel@nongnu.org; Fri, 14 May 2010 13:12:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60642) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCyQc-0001zB-1q for qemu-devel@nongnu.org; Fri, 14 May 2010 13:12:02 -0400 From: Kevin Wolf Date: Fri, 14 May 2010 19:10:55 +0200 Message-Id: <1273857055-26715-22-git-send-email-kwolf@redhat.com> In-Reply-To: <1273857055-26715-1-git-send-email-kwolf@redhat.com> References: <1273857055-26715-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 21/21] block: Remove special case for vvfat List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org The special case doesn't really us buy anything. Without it vvfat works more consistently as a protocol. We get raw on top of vvfat now, which works just as well as using vvfat directly. Signed-off-by: Kevin Wolf --- block.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/block.c b/block.c index 7822580..bfe46e3 100644 --- a/block.c +++ b/block.c @@ -326,11 +326,6 @@ static BlockDriver *find_image_format(const char *filename) uint8_t buf[2048]; BlockDriverState *bs; - drv = find_protocol(filename); - /* no need to test disk image formats for vvfat */ - if (drv && strcmp(drv->format_name, "vvfat") == 0) - return drv; - ret = bdrv_file_open(&bs, filename, 0); if (ret < 0) return NULL; -- 1.6.6.1