aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mqueue.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:12:32 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:12:32 +0000
commit6fed89b17970606e6b9562d8f9dc7ffee732839c (patch)
tree6b6fcf88b47969177e8312a2dea0ba4140afef70 /sys/kern/uipc_mqueue.c
parentab326db897ce665f9a71146070e28b4d71e8419b (diff)
downloadsrc-6fed89b17970606e6b9562d8f9dc7ffee732839c.tar.gz
src-6fed89b17970606e6b9562d8f9dc7ffee732839c.zip
kern: clean up empty lines in .c and .h files
Notes
Notes: svn path=/head/; revision=365222
Diffstat (limited to 'sys/kern/uipc_mqueue.c')
-rw-r--r--sys/kern/uipc_mqueue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c
index 29452882d86b..faf8f4ed25c8 100644
--- a/sys/kern/uipc_mqueue.c
+++ b/sys/kern/uipc_mqueue.c
@@ -907,7 +907,7 @@ mqfs_lookupx(struct vop_cachedlookup_args *ap)
if (pn != NULL)
mqnode_addref(pn);
sx_xunlock(&mqfs->mi_lock);
-
+
/* found */
if (pn != NULL) {
/* DELETE */
@@ -932,7 +932,7 @@ mqfs_lookupx(struct vop_cachedlookup_args *ap)
cache_enter(dvp, *vpp, cnp);
return (error);
}
-
+
/* not found */
/* will create a new entry in the directory ? */
@@ -1916,7 +1916,7 @@ static int
_mqueue_recv(struct mqueue *mq, struct mqueue_msg **msg, int timo)
{
int error = 0;
-
+
mtx_lock(&mq->mq_mutex);
while ((*msg = TAILQ_FIRST(&mq->mq_msgq)) == NULL && error == 0) {
if (timo < 0) {
@@ -2447,7 +2447,7 @@ mqueue_fdclose(struct thread *td, int fd, struct file *fp)
struct mqueue *mq;
#ifdef INVARIANTS
struct filedesc *fdp;
-
+
fdp = td->td_proc->p_fd;
FILEDESC_LOCK_ASSERT(fdp);
#endif