diff options
| author | Paolo Bonzini | 2017-01-26 11:10:10 +0100 |
|---|---|---|
| committer | Jason Wang | 2017-02-15 04:18:57 +0100 |
| commit | e514fc7e1231c6d95011e448e6c626f2bb6f3cd8 (patch) | |
| tree | 3b76f8f974e80084a2f9eb6fc22868b761c0c040 /linux-headers | |
| parent | net: Mark 'vlan' parameter as deprecated (diff) | |
| download | qemu-e514fc7e1231c6d95011e448e6c626f2bb6f3cd8.tar.gz qemu-e514fc7e1231c6d95011e448e6c626f2bb6f3cd8.tar.xz qemu-e514fc7e1231c6d95011e448e6c626f2bb6f3cd8.zip | |
net: e1000e: fix dead code in e1000e_write_packet_to_guest
Because is_first is declared inside a loop, it is always true. The store
is dead, and so is the "else" branch of "if (is_first)". is_last is
okay though.
Reported by Coverity.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
