summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-09-15 00:00:40 +0000
committerdlg <dlg@openbsd.org>2016-09-15 00:00:40 +0000
commite38fa123b46c86e2dfbe6543ce7624e0e1cd1fdf (patch)
tree7762f84e293348ac7ec55b22c82ffe26befeed52 /sys/kern
parenttake fingerprint of correct key for AuthorizedPrincipalsCommand (diff)
downloadwireguard-openbsd-e38fa123b46c86e2dfbe6543ce7624e0e1cd1fdf.tar.xz
wireguard-openbsd-e38fa123b46c86e2dfbe6543ce7624e0e1cd1fdf.zip
remove m_copym2 as its use has been replaced by m_dup_pkt
ok millert@ mpi@ henning@ claudio@ markus@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_mbuf.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 4eaad77104d..1353c3d9f75 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.228 2016/09/13 19:56:55 markus Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.229 2016/09/15 00:00:40 dlg Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -576,16 +576,6 @@ m_copym(struct mbuf *m, int off, int len, int wait)
return m_copym0(m, off, len, wait, 0); /* shallow copy on M_EXT */
}
-/*
- * m_copym2() is like m_copym(), except it COPIES cluster mbufs, instead
- * of merely bumping the reference count.
- */
-struct mbuf *
-m_copym2(struct mbuf *m, int off, int len, int wait)
-{
- return m_copym0(m, off, len, wait, 1); /* deep copy */
-}
-
struct mbuf *
m_copym0(struct mbuf *m0, int off, int len, int wait, int deep)
{