From 33da7fa5ad9a5c736d992b64b8e65f949146a490 Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 15 Aug 2016 07:20:14 +0000 Subject: [PATCH] No need to reset si_selpid after calling selwakeup() the function already does it. --- sys/net/bpf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 528fe5044ba..d731632a2bd 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.146 2016/08/15 07:17:10 mpi Exp $ */ +/* $OpenBSD: bpf.c,v 1.147 2016/08/15 07:20:14 mpi Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -521,8 +521,6 @@ bpf_wakeup(struct bpf_d *d) d->bd_siguid, d->bd_sigeuid); selwakeup(&d->bd_sel); - /* XXX */ - d->bd_sel.si_selpid = 0; } int -- 2.20.1