From: bluhm Date: Fri, 14 Apr 2017 20:50:35 +0000 (+0000) Subject: Remove unused define satoin6(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9de06d4372364f8a0268e61fe71e22f436355419;p=openbsd Remove unused define satoin6(). --- 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 ||