summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index bf9ecaff692..b629ba7c28f 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.253 2021/01/09 15:30:38 bluhm Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.254 2021/01/17 05:23:34 visa Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -2040,7 +2040,6 @@ soo_kqfilter(struct file *fp, struct knote *kn)
}
klist_insert_locked(&sb->sb_sel.si_note, kn);
- sb->sb_flagsintr |= SB_KNOTE;
return (0);
}
@@ -2053,8 +2052,6 @@ filt_sordetach(struct knote *kn)
KERNEL_ASSERT_LOCKED();
klist_remove_locked(&so->so_rcv.sb_sel.si_note, kn);
- if (klist_empty(&so->so_rcv.sb_sel.si_note))
- so->so_rcv.sb_flagsintr &= ~SB_KNOTE;
}
int
@@ -2106,8 +2103,6 @@ filt_sowdetach(struct knote *kn)
KERNEL_ASSERT_LOCKED();
klist_remove_locked(&so->so_snd.sb_sel.si_note, kn);
- if (klist_empty(&so->so_snd.sb_sel.si_note))
- so->so_snd.sb_flagsintr &= ~SB_KNOTE;
}
int
@@ -2178,7 +2173,6 @@ sobuf_print(struct sockbuf *sb,
(*pr)("\tsb_mbtail: %p\n", sb->sb_mbtail);
(*pr)("\tsb_lastrecord: %p\n", sb->sb_lastrecord);
(*pr)("\tsb_sel: ...\n");
- (*pr)("\tsb_flagsintr: %d\n", sb->sb_flagsintr);
(*pr)("\tsb_flags: %i\n", sb->sb_flags);
(*pr)("\tsb_timeo_nsecs: %llu\n", sb->sb_timeo_nsecs);
}