OSDN Git Service

block: remove qcow2 .bdrv_make_empty implementation
authorJeff Cody <jcody@redhat.com>
Mon, 27 Jan 2014 21:09:13 +0000 (16:09 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 31 Jan 2014 21:05:03 +0000 (22:05 +0100)
commit14b4a8b9c654b625dea0f532fae5722781fd0a7d
tree5d34746250dd9e6ac46ade9961f22f4e2b0567bc
parent55aff7f133b0eb20b2c8a2a3e1307240aab8044c
block: remove qcow2 .bdrv_make_empty implementation

The QCOW2 .bdrv_make_empty implementation always returns 0 for success,
but does not actually do anything.

The proper way to not support an optional driver function stub is to
just not implement it, so let's remove the stub.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2.c