ip_gre: remove redundant variables t_hlen
authorYueHaibing <yuehaibing@huawei.com>
Wed, 1 Aug 2018 02:04:02 +0000 (10:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 16:58:15 +0000 (09:58 -0700)
commit1296ee8ffc74fea4350c756f722000211b38400d
tree10e5b4abd6fc8a71d74beb5c911e4efca08cbff0
parent13dde04f5c436f3b9f50ccfd0784db6db13401f3
ip_gre: remove redundant variables t_hlen

After commit ffc2b6ee4174 ("ip_gre: fix IFLA_MTU ignored on NEWLINK")
variable t_hlen is assigned values that are never read,
hence they are redundant and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c