ipv4: removed redundant conditional
Subsystems (3)
PATCH 1/1 ipv4: removed redundant conditional
Since fib_lookup cannot return ESRCH no longer, checking for this error code is no longer neccesary.
Signed-off-by Niv Yehezkel <[email protected]>
--- net/ipv4/route.c | 2 -- 1 file changed, 2 deletions(-)
net/ipv4/route.c +0 -2
@@ -1771,8 +1771,6 @@ local_input: no_route:RT_CACHE_STAT_INC (in_no_route); res.type =RTN_UNREACHABLE ; -if (err == -ESRCH ) - err = -ENETUNREACH ; goto local_input;/*
Signature · 1 line
1.7.10.4
From: Niv Yehezkel <[email protected]>
Date: Fri, 8 Aug 2014 04:27:37 -0400
Quoted 4 lines
Since
fib_lookupcannot return ESRCH no longer, checking for this error code is no longer neccesary.Signed-off-by Niv Yehezkel <[email protected]>
Applied, thank you.