ip_vti: remove the useless err_count check in vti_xmit
authorXin Long <lucien.xin@gmail.com>
Sat, 28 Oct 2017 11:46:21 +0000 (19:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 02:57:32 +0000 (11:57 +0900)
commitdb32919005d81a375093936a1f625f2d08c2d299
tree3371e32e4ba10636ee138401da11e182424593dd
parentaa7365e19f8410659ec30503cd8ce866a176c9f4
ip_vti: remove the useless err_count check in vti_xmit

Unlike ipip and gre, ip_vti never uses err_count in vti4_err,
so no need to check err_count in vti_xmit, it's value always 0.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_vti.c