diff options
author | 2015-09-12 09:57:20 +0000 | |
---|---|---|
committer | 2015-09-12 09:57:20 +0000 | |
commit | 0000d952c6961abe4b07a43aa7e392e4f7828736 (patch) | |
tree | 25c05481a7abc39048f8fb02d34534b4ebda08f0 | |
parent | ifmedia64 fixes. (diff) | |
download | wireguard-openbsd-0000d952c6961abe4b07a43aa7e392e4f7828736.tar.xz wireguard-openbsd-0000d952c6961abe4b07a43aa7e392e4f7828736.zip |
vhif_ifp in struct carp_ifs is set but never used. it can be trimmed.
ok claudio@ mpi@
-rw-r--r-- | sys/netinet/ip_carp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 6d0243a3155..fff2b7560c8 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.269 2015/09/12 09:36:31 dlg Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.270 2015/09/12 09:57:20 dlg Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -169,8 +169,6 @@ int carp_send_all_recur = 0; struct carp_if { TAILQ_HEAD(, carp_softc) vhif_vrs; - - struct ifnet *vhif_ifp; }; #define CARP_LOG(l, sc, s) \ @@ -1695,7 +1693,6 @@ carp_set_ifp(struct carp_softc *sc, struct ifnet *ifp) return (error); } - ncif->vhif_ifp = ifp; TAILQ_INIT(&ncif->vhif_vrs); } else { cif = (struct carp_if *)ifp->if_carp; |