From a1e8ebde3f089775556dc37214fb2b363e35a475 Mon Sep 17 00:00:00 2001 From: avg Date: Tue, 26 Nov 2013 09:10:01 +0000 Subject: opensolaris taskq: some cosmetic changes - drop trailing whitespace - remove redundant "extern" from function declarations - remove unused macro MFC after: 1 week --- sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c') 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. */ -- cgit v1.1