]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
block: mirror - remove code cruft that has no function
authorJeff Cody <jcody@redhat.com>
Tue, 4 Mar 2014 15:35:48 +0000 (10:35 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 6 Mar 2014 10:47:40 +0000 (11:47 +0100)
commit50c75136beec0180171971c88bb6e3fa3aa66463
tree179970abec4e49177e768b867ea044493ebe50ed
parent90ce8a061bdcc485a56142cae68cfbfff270e634
block: mirror - remove code cruft that has no function

Originally, this built up the error message with the backing filename,
so that errp was set as follows:
    error_set(errp, QERR_OPEN_FILE_FAILED, backing_filename);

However, we now propagate the local_error from the
bdrv_open_backing_file() call instead, making these 2 lines useless
code.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c