diff options
Diffstat (limited to 'qemu-nbd.c')
-rw-r--r-- | qemu-nbd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c index 99f1d22884..e858033e06 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -336,8 +336,6 @@ int main(int argc, char **argv) bdrv_init(); bs = bdrv_new("hda"); - if (bs == NULL) - return 1; if ((ret = bdrv_open(bs, argv[optind], flags, NULL)) < 0) { errno = -ret; |