]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
hmp: Remove dead code in hmp_qemu_io()
authorKevin Wolf <kwolf@redhat.com>
Thu, 15 Sep 2016 15:44:16 +0000 (17:44 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:36:09 +0000 (13:36 +0200)
commit1813d33015f0a6780609739999f3962f2dc56921
tree37395095026fb66622da5f95b327d3503f0fddb6
parentbb9f8dd0e15a9744b8d09d06ecb6a18ca3dcc173
hmp: Remove dead code in hmp_qemu_io()

blk can never be NULL, drop the check. This fixes a Coverity warning.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hmp.c