summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mqueue.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
commit69938bd19626ef8e176215880689a282503f8eca (patch)
tree2dd9323b62ee1cbf7eb55c41c1cc9c518ebd0111 /sys/kern/uipc_mqueue.c
parentbc98d02991feca044590da3d2fccb75e6f3f21da (diff)
downloadFreeBSD-src-69938bd19626ef8e176215880689a282503f8eca.zip
FreeBSD-src-69938bd19626ef8e176215880689a282503f8eca.tar.gz
Further system call comment cleanup:
- Remove also "MP SAFE" after prior "MPSAFE" pass. (suggested by bde) - Remove extra blank lines in some cases. - Add extra blank lines in some cases. - Remove no-op comments consisting solely of the function name, the word "syscall", or the system call name. - Add punctuation. - Re-wrap some comments.
Diffstat (limited to 'sys/kern/uipc_mqueue.c')
-rw-r--r--sys/kern/uipc_mqueue.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c
index 9e58c05..3439dbc 100644
--- a/sys/kern/uipc_mqueue.c
+++ b/sys/kern/uipc_mqueue.c
@@ -764,7 +764,7 @@ mqfs_search(struct mqfs_node *pd, const char *name, int len)
}
/*
- * Look up a file or directory
+ * Look up a file or directory.
*/
static int
mqfs_lookupx(struct vop_cachedlookup_args *ap)
@@ -1904,7 +1904,7 @@ notifier_remove(struct proc *p, struct mqueue *mq, int fd)
}
/*
- * Syscall to open a message queue
+ * Syscall to open a message queue.
*/
int
kmq_open(struct thread *td, struct kmq_open_args *uap)
@@ -2018,7 +2018,7 @@ kmq_open(struct thread *td, struct kmq_open_args *uap)
}
/*
- * Syscall to unlink a message queue
+ * Syscall to unlink a message queue.
*/
int
kmq_unlink(struct thread *td, struct kmq_unlink_args *uap)
@@ -2093,9 +2093,6 @@ getmq_write(struct thread *td, int fd, struct file **fpp,
return _getmq(td, fd, fget_write, fpp, ppn, pmq);
}
-/*
- * Syscall
- */
int
kmq_setattr(struct thread *td, struct kmq_setattr_args *uap)
{
@@ -2130,9 +2127,6 @@ kmq_setattr(struct thread *td, struct kmq_setattr_args *uap)
return (error);
}
-/*
- * Syscall
- */
int
kmq_timedreceive(struct thread *td, struct kmq_timedreceive_args *uap)
{
@@ -2151,9 +2145,6 @@ kmq_timedreceive(struct thread *td, struct kmq_timedreceive_args *uap)
return (error);
}
-/*
- * Syscall
- */
int
kmq_timedsend(struct thread *td, struct kmq_timedsend_args *uap)
{
@@ -2171,9 +2162,6 @@ kmq_timedsend(struct thread *td, struct kmq_timedsend_args *uap)
return (error);
}
-/*
- * Syscall
- */
int
kmq_notify(struct thread *td, struct kmq_notify_args *uap)
{
OpenPOWER on IntegriCloud