Paolo Bonzini e514fc7e12 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>
2017-02-15 11:18:57 +08:00
..
2017-01-24 23:26:52 +03:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-06-16 18:39:03 +02:00
2017-01-06 10:38:05 +08:00
2017-01-24 23:26:52 +03:00
2017-01-18 22:59:53 +02:00
2016-10-28 17:54:21 -07:00
2016-07-19 20:18:02 +02:00