diff options
author | Li Qiang <liq3ea@gmail.com> | 2018-11-09 00:13:34 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-12-11 18:28:46 +0100 |
commit | afb73d575d821b48456fd8ef9df4c504b0cd84f4 (patch) | |
tree | b8996f481acef5d4eae105fdd3e9fab0aa7b5753 /qemu-io.c | |
parent | df68a7f3c8c677165ba875d15c228ab4d0225abd (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