Author: hselasky
Date: Thu Feb 22 20:09:21 2018
New Revision: 329835
URL: https://svnweb.freebsd.org/changeset/base/329835

Log:
  Fix for LINT-NOINET kernel build.
  
  This is a direct commit.
  
  Reported by:  rpokala@
  Sponsored by: Mellanox Technologies

Modified:
  stable/10/sys/ofed/drivers/infiniband/core/addr.c

Modified: stable/10/sys/ofed/drivers/infiniband/core/addr.c
==============================================================================
--- stable/10/sys/ofed/drivers/infiniband/core/addr.c   Thu Feb 22 19:40:03 
2018        (r329834)
+++ stable/10/sys/ofed/drivers/infiniband/core/addr.c   Thu Feb 22 20:09:21 
2018        (r329835)
@@ -194,7 +194,7 @@ static int addr_resolve(struct sockaddr *src_in,
        struct ifaddr *ifa;
        struct ifnet *ifp;
        struct rtentry *rte;
-#if defined(INET) || defined(INET6)
+#if defined(INET)
        struct llentry *lle;
 #endif
 #if defined(INET6)
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to