summaryrefslogtreecommitdiffstats
path: root/sys/net/if_stf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_stf.c')
-rw-r--r--sys/net/if_stf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c
index 36c6179..6c9c468 100644
--- a/sys/net/if_stf.c
+++ b/sys/net/if_stf.c
@@ -766,9 +766,7 @@ stf_rtrequest(cmd, rt, info)
struct rt_addrinfo *info;
{
RT_LOCK_ASSERT(rt);
-
- if (rt)
- rt->rt_rmx.rmx_mtu = IPV6_MMTU;
+ rt->rt_rmx.rmx_mtu = IPV6_MMTU;
}
static int
OpenPOWER on IntegriCloud