diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-15 07:20:15 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-15 07:20:15 +0000 |
commit | 0215bf0ae9a29084fd5e4fbbacdd0da00d0344a4 (patch) | |
tree | d220f16909cf8387f6ea509b81110bc6854934e3 | |
parent | 50e119e069b746c38615ae7fb3fbb40e706901a2 (diff) |
No need to reset si_selpid after calling selwakeup() the function
already does it.
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 1 insertions, 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 |