net/netvsc: remove useless condition
Since previous test is for mtu < 1519 the next else if is always true. This causes the lgtm static tool to complain. Not a real issue, just cosmetic. Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Acked-by: Rami Rosen <ramirose@gmail.com>
This commit is contained in:
parent
a3a6a3d94f
commit
204109c5d4
@ -123,7 +123,7 @@ hn_update_packet_stats(struct hn_stats *stats, const struct rte_mbuf *m)
|
||||
stats->size_bins[0]++;
|
||||
else if (s < 1519)
|
||||
stats->size_bins[6]++;
|
||||
else if (s >= 1519)
|
||||
else
|
||||
stats->size_bins[7]++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user