From 7d84f9d2931a63fef25ebd06534371ef86af3e09 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 23 Jun 2004 00:35:50 +0000 Subject: [PATCH] Remove unlocked read annotation for sbspace(); the read is locked. --- sys/fs/fifofs/fifo_vnops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 373b58271fe..ec7bda9ab26 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -495,7 +495,6 @@ filt_fifowrite(struct knote *kn, long hint) if (need_lock) SOCKBUF_LOCK(&so->so_snd); kn->kn_data = sbspace(&so->so_snd); - /* Unlocked read. */ if (so->so_snd.sb_state & SBS_CANTSENDMORE) { kn->kn_flags |= EV_EOF; result = 1;