net/netvsc: remove useless condition
authorStephen Hemminger <sthemmin@microsoft.com>
Wed, 27 Mar 2019 21:08:42 +0000 (14:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:32 +0000 (17:25 +0100)
commit204109c5d4a8bdd6787a43a113f7f987aae6623c
tree554d7f04e095793b7eb8dc3aab439b3d25e97e1f
parenta3a6a3d94f7efd8fe5d4db97823085bf3a0b2ac5
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>
drivers/net/netvsc/hn_rxtx.c