From 9de06d4372364f8a0268e61fe71e22f436355419 Mon Sep 17 00:00:00 2001 From: bluhm Date: Fri, 14 Apr 2017 20:50:35 +0000 Subject: [PATCH] Remove unused define satoin6(). --- sys/net/if_gif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index b89b5317f87..71e7d5b25ea 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.92 2017/04/14 20:46:31 bluhm Exp $ */ +/* $OpenBSD: if_gif.c,v 1.93 2017/04/14 20:50:35 bluhm Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -856,7 +856,6 @@ int in6_gif_input(struct mbuf **mp, int *offp, int proto, int af) in6_recoverscope(&src, &ip6->ip6_src); in6_recoverscope(&dst, &ip6->ip6_dst); -#define satoin6(sa) (satosin6(sa)->sin6_addr) LIST_FOREACH(sc, &gif_softc_list, gif_list) { if (sc->gif_psrc == NULL || sc->gif_pdst == NULL || sc->gif_psrc->sa_family != AF_INET6 || -- 2.20.1