net/virtio: remove useless condition
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 27 Mar 2019 21:08:43 +0000 (14:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:32 +0000 (17:25 +0100)
commit5c67301273fff63d81c343cee164a3d87918b567
tree79f52da0be23a4dcad7902293ac2700526c17974
parent204109c5d4a8bdd6787a43a113f7f987aae6623c
net/virtio: 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: 76d4c652e07d ("virtio: add extended stats")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c