OSDN Git Service

block/ssh: remove dead code
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Sep 2015 11:12:34 +0000 (13:12 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 Oct 2015 16:46:01 +0000 (19:46 +0300)
commiteab2ac9d3c1675a58989000c2647aa33e440906a
tree96b48138e7d10678b42dcb0faca8b25405f12fd4
parentdc1442204a2235b1ad0c4bdceb3580c97f71f1b5
block/ssh: remove dead code

The "err" label cannot be reached with qp != NULL.  Remove the free-ing
of qp and avoid future regressions by removing the initializer.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ACKed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
block/ssh.c