summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2020-01-12 09:18:39 +0000
committeranton <anton@openbsd.org>2020-01-12 09:18:39 +0000
commitea998dad1e2381e4e26aeb8c67ce1425a6411c43 (patch)
treef850cbb267b9a0f9f0f0c2f0498fae7f0d101d1f
parentGet rid of redundant parenthesis. (diff)
downloadwireguard-openbsd-ea998dad1e2381e4e26aeb8c67ce1425a6411c43.tar.xz
wireguard-openbsd-ea998dad1e2381e4e26aeb8c67ce1425a6411c43.zip
condense comment
-rw-r--r--sys/kern/sys_pipe.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 7d2a957359f..ced9eb90005 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_pipe.c,v 1.112 2020/01/12 09:16:57 anton Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.113 2020/01/12 09:18:39 anton Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@@ -515,10 +515,7 @@ pipe_write(struct file *fp, struct uio *uio, int fflags)
}
- /*
- * If it is advantageous to resize the pipe buffer, do
- * so.
- */
+ /* If it is advantageous to resize the pipe buffer, do so. */
if (uio->uio_resid > PIPE_SIZE &&
wpipe->pipe_buffer.size <= PIPE_SIZE &&
wpipe->pipe_buffer.cnt == 0) {