diff options
author | arr <arr@FreeBSD.org> | 2001-11-18 03:41:20 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2001-11-18 03:41:20 +0000 |
commit | adfbc8c55a3e77432bfb5985d5f4f565103739fb (patch) | |
tree | e53dec1881c69b0d0fd4c77e8d9e7ff797ed98f4 /sys | |
parent | 9fd727b77f9cfa3c5bb70fa2dcf6c4c1fb957095 (diff) | |
download | FreeBSD-src-adfbc8c55a3e77432bfb5985d5f4f565103739fb.zip FreeBSD-src-adfbc8c55a3e77432bfb5985d5f4f565103739fb.tar.gz |
- M_ZERO already sets bif_dlist to zero; there is no need to
do it again.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/bpf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index cb7a8ab..034ead1 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1216,7 +1216,6 @@ bpfattach(ifp, dlt, hdrlen) if (bp == 0) panic("bpfattach"); - bp->bif_dlist = 0; bp->bif_ifp = ifp; bp->bif_dlt = dlt; mtx_init(&bp->bif_mtx, "bpf interface lock", MTX_DEF); |