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:
parent
4902050fa5
commit
af5c99e53f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291565
@ -1369,7 +1369,9 @@ rt_mpath_unlink(struct radix_node_head *rnh, struct rt_addrinfo *info,
|
|||||||
static struct rtentry *
|
static struct rtentry *
|
||||||
rt_flowtable_check_route(struct radix_node_head *rnh, struct rt_addrinfo *info)
|
rt_flowtable_check_route(struct radix_node_head *rnh, struct rt_addrinfo *info)
|
||||||
{
|
{
|
||||||
|
#if defined(INET6) || defined(INET)
|
||||||
struct radix_node *rn;
|
struct radix_node *rn;
|
||||||
|
#endif
|
||||||
struct rtentry *rt0;
|
struct rtentry *rt0;
|
||||||
|
|
||||||
rt0 = NULL;
|
rt0 = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user