]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: remove unnecessary check on orig_oif
authorDavid Ahern <dsahern@gmail.com>
Sat, 12 Aug 2017 00:02:02 +0000 (17:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:03:03 +0000 (20:03 -0700)
commit218cf0f9b44302b46213050c614da43ac893587e
tree11e20d8437ad10104c32b94f43989711df80e0ba
parent2a84cefbcae25ee6eeb7e070965ebc72e3ada99a
net: ipv4: remove unnecessary check on orig_oif

rt_iif is going to be set to either 0 or orig_oif. If orig_oif
is 0 it amounts to the same end result so remove the check.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c