Re: [Qemu-devel] [PATCH] hmp: Remove dead code in hmp_qemu_io()

2016-09-16 Thread Marc-André Lureau
On Thu, Sep 15, 2016 at 7:50 PM Kevin Wolf wrote: > blk can never be NULL, drop the check. This fixes a Coverity warning. > > Signed-off-by: Kevin Wolf > Reviewed-by: Marc-André Lureau > --- > hmp.c | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-) > > diff --git a/hmp

[Qemu-devel] [PATCH] hmp: Remove dead code in hmp_qemu_io()

2016-09-15 Thread Kevin Wolf
blk can never be NULL, drop the check. This fixes a Coverity warning. Signed-off-by: Kevin Wolf --- hmp.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/hmp.c b/hmp.c index ad33b44..0a16aef 100644 --- a/hmp.c +++ b/hmp.c @@ -1924,6 +1924,7 @@ void hmp_qemu_io(