diff options
author | avg <avg@FreeBSD.org> | 2013-11-26 09:10:01 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-11-26 09:10:01 +0000 |
commit | a1e8ebde3f089775556dc37214fb2b363e35a475 (patch) | |
tree | 9ced341e6c1d6fa0fb778ed1b6d07c08880f8dd0 /sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c | |
parent | 3105caf4c7029ba01b24e81b812cdf1b927fc833 (diff) | |
download | FreeBSD-src-a1e8ebde3f089775556dc37214fb2b363e35a475.zip FreeBSD-src-a1e8ebde3f089775556dc37214fb2b363e35a475.tar.gz |
opensolaris taskq: some cosmetic changes
- drop trailing whitespace
- remove redundant "extern" from function declarations
- remove unused macro
MFC after: 1 week
Diffstat (limited to 'sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c b/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c index a74f795..f8f06d8 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c @@ -121,7 +121,7 @@ taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) mflag = M_WAITOK; else mflag = M_NOWAIT; - /* + /* * If TQ_FRONT is given, we want higher priority for this task, so it * can go at the front of the queue. */ @@ -140,8 +140,6 @@ taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) return ((taskqid_t)(void *)task); } -#define TASKQ_MAGIC 0x74541c - static void taskq_run_safe(void *arg, int pending __unused) { @@ -156,7 +154,7 @@ taskq_dispatch_safe(taskq_t *tq, task_func_t func, void *arg, u_int flags, { int prio; - /* + /* * If TQ_FRONT is given, we want higher priority for this task, so it * can go at the front of the queue. */ |