From: mpi Date: Mon, 15 Aug 2016 07:20:14 +0000 (+0000) Subject: No need to reset si_selpid after calling selwakeup() the function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=33da7fa5ad9a5c736d992b64b8e65f949146a490;p=openbsd No need to reset si_selpid after calling selwakeup() the function already does it. --- 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