Fix LINT-NOIP kernels after r291467

rn is only used if INET or INET6 are defined

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-12-01 05:59:53 +00:00
parent 4902050fa5
commit af5c99e53f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291565

View File

@ -1369,7 +1369,9 @@ rt_mpath_unlink(struct radix_node_head *rnh, struct rt_addrinfo *info,
static struct rtentry *
rt_flowtable_check_route(struct radix_node_head *rnh, struct rt_addrinfo *info)
{
#if defined(INET6) || defined(INET)
struct radix_node *rn;
#endif
struct rtentry *rt0;
rt0 = NULL;