aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_pcap.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2016-02-10 18:54:18 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2016-02-10 18:54:18 +0000
commitb4b12e52fb02dfe381fe328b98511aa2087ca619 (patch)
tree3cef29d6ed9d92ad68bcca67d68907cfa5419d13 /sys/netinet/tcp_pcap.c
parented6877ef4b151d98ee27ffca6b16e2e48e915242 (diff)
downloadsrc-b4b12e52fb02dfe381fe328b98511aa2087ca619.tar.gz
src-b4b12e52fb02dfe381fe328b98511aa2087ca619.zip
Garbage collect unused arguments of m_init().
Notes
Notes: svn path=/head/; revision=295482
Diffstat (limited to 'sys/netinet/tcp_pcap.c')
-rw-r--r--sys/netinet/tcp_pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_pcap.c b/sys/netinet/tcp_pcap.c
index f0c651dab555..41a7fbfc958d 100644
--- a/sys/netinet/tcp_pcap.c
+++ b/sys/netinet/tcp_pcap.c
@@ -341,7 +341,7 @@ tcp_pcap_add(struct tcphdr *th, struct mbuf *m, struct mbufq *queue)
n = mhead;
tcp_pcap_m_freem(n->m_next);
- m_init(n, NULL, 0, M_NOWAIT, MT_DATA, 0);
+ m_init(n, M_NOWAIT, MT_DATA, 0);
}
}