aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-01-26 11:10:10 +0100
committerJason Wang <jasowang@redhat.com>2017-02-15 11:18:57 +0800
commite514fc7e1231c6d95011e448e6c626f2bb6f3cd8 (patch)
tree3b76f8f974e80084a2f9eb6fc22868b761c0c040 /net
parenta2dbe1356faff3cb613ae83b77c484a203be5f15 (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions