summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2021-01-11 21:50:57 +0000
committerkn <kn@cvs.openbsd.org>2021-01-11 21:50:57 +0000
commit86f6e85800d84f462201f382571b174e1dae3b68 (patch)
treee2f380da3ed5a66005611652059e914e7d112f65 /sys
parent4935cd597525db6b7a418ef8e0be440dc4cffc2f (diff)
Remove unused start routine
pflog(4) does not send or generate packets by design. OK mvs sashan
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_pflog.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c
index 638f8edd10c..be6471e1dca 100644
--- a/sys/net/if_pflog.c
+++ b/sys/net/if_pflog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.c,v 1.91 2020/08/28 12:01:48 mvs Exp $ */
+/* $OpenBSD: if_pflog.c,v 1.92 2021/01/11 21:50:56 kn Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -80,7 +80,6 @@ int pflogifs_resize(size_t);
int pflogoutput(struct ifnet *, struct mbuf *, struct sockaddr *,
struct rtentry *);
int pflogioctl(struct ifnet *, u_long, caddr_t);
-void pflogstart(struct ifnet *);
int pflog_clone_create(struct if_clone *, int);
int pflog_clone_destroy(struct ifnet *);
void pflog_mtap(caddr_t, struct pfloghdr *, struct mbuf *);
@@ -139,7 +138,6 @@ pflog_clone_create(struct if_clone *ifc, int unit)
ifp->if_mtu = PFLOGMTU;
ifp->if_ioctl = pflogioctl;
ifp->if_output = pflogoutput;
- ifp->if_start = pflogstart;
ifp->if_xflags = IFXF_CLONED;
ifp->if_type = IFT_PFLOG;
ifp->if_hdrlen = PFLOG_HDRLEN;
@@ -180,15 +178,6 @@ pflog_clone_destroy(struct ifnet *ifp)
return (0);
}
-/*
- * Start output on the pflog interface.
- */
-void
-pflogstart(struct ifnet *ifp)
-{
- ifq_purge(&ifp->if_snd);
-}
-
int
pflogoutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
struct rtentry *rt)