Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7a71b51 authored by Niv Yehezkel's avatar Niv Yehezkel Committed by David S. Miller
Browse files

ipv4: removed redundant conditional



Since fib_lookup cannot return ESRCH no longer,
checking for this error code is no longer neccesary.

Signed-off-by: default avatarNiv Yehezkel <executerx@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10b00466
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1798,8 +1798,6 @@ local_input:
no_route:
	RT_CACHE_STAT_INC(in_no_route);
	res.type = RTN_UNREACHABLE;
	if (err == -ESRCH)
		err = -ENETUNREACH;
	goto local_input;

	/*