diff options
| author | Fam Zheng <famz@redhat.com> | 2017-04-26 10:03:49 +0800 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-04-27 15:39:50 +0200 |
| commit | e914404efb9d2af79e08750c6700b642ea0d2ec7 (patch) | |
| tree | ca15bca9cb82d2e3ba9ff11550db6731336350a9 /qemu-io-cmds.c | |
| parent | 242e496b39d364765e428e182b3bdeee94cc5c84 (diff) | |
| download | focaccia-qemu-e914404efb9d2af79e08750c6700b642ea0d2ec7.tar.gz focaccia-qemu-e914404efb9d2af79e08750c6700b642ea0d2ec7.zip | |
block: Remove NULL check in bdrv_co_flush
Reported by Coverity. We already use bs in bdrv_inc_in_flight before checking for NULL. It is unnecessary as all callers pass non-NULL bs, so drop it. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions