gre: remove duplicated assignment of iph
authorColin Ian King <colin.king@canonical.com>
Wed, 23 Aug 2017 11:59:48 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 05:36:03 +0000 (22:36 -0700)
commit60890e046081aef61980dbc812ac5100ad078a87
treee2444e69658f57760e14b616d8af8e3c537f5052
parent042a90106b09beff4fa9015d1940e45ce10297ab
gre: remove duplicated assignment of iph

iph is being assigned the same value twice; remove the redundant
first assignment. (Thanks to Nikolay Aleksandrov for pointing out
that the first asssignment should be removed and not the second)

Fixes warning:
net/ipv4/ip_gre.c:265:2: warning: Value stored to 'iph' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c