mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
[IPV6]: Clean up BACKTRACK().
The fn check is unnecessary as fn can never be NULL in BACKTRACK(). Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4251320fa2
commit
e0eda7bbaa
@ -484,7 +484,7 @@ int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
|
|||||||
do { \
|
do { \
|
||||||
if (rt == &ip6_null_entry) { \
|
if (rt == &ip6_null_entry) { \
|
||||||
struct fib6_node *pn; \
|
struct fib6_node *pn; \
|
||||||
while (fn) { \
|
while (1) { \
|
||||||
if (fn->fn_flags & RTN_TL_ROOT) \
|
if (fn->fn_flags & RTN_TL_ROOT) \
|
||||||
goto out; \
|
goto out; \
|
||||||
pn = fn->parent; \
|
pn = fn->parent; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user