Skip to contentSkip to conversation

block: Remove special case for vvfat

PATCH New Kevin Wolf 1 participant 1 message May 12, 2010

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

PATCH 1/1 block: Remove special case for vvfat

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.

---
 block.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
block.c +0 -5
index ffe82f8..b65a3e5 100644
@@ -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;
Signature · 1 line
1.6.6.1