aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorLi Qiang <liq3ea@gmail.com>2018-11-09 00:13:34 -0800
committerLaurent Vivier <laurent@vivier.eu>2018-12-11 18:28:46 +0100
commitafb73d575d821b48456fd8ef9df4c504b0cd84f4 (patch)
treeb8996f481acef5d4eae105fdd3e9fab0aa7b5753 /qemu-io.c
parentdf68a7f3c8c677165ba875d15c228ab4d0225abd (diff)
hw: set_netdev: remove useless code
In set_netdev(), the peers[i] is initialized qemu_find_net_clients_except() when i is in 0 between 'queues' it can't be NULL. Signed-off-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1541751214-17515-1-git-send-email-liq3ea@gmail.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions