]> 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)
commitb5c720e3ac29e14c991ee690e0120faa31d60965
tree11e20d8437ad10104c32b94f43989711df80e0ba
parent23d65c094e4f7e0063602f663b92341d9901ff9d
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