From d4c969aaa59bb1fdcef81a05ff3b20c583b1649e Mon Sep 17 00:00:00 2001 From: sbruno Date: Thu, 26 Jan 2017 13:46:47 +0000 Subject: [PATCH] Shoot a couple of style bugs down in the macro declarations. Submitted by: bde --- sys/sys/gtaskqueue.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/sys/gtaskqueue.h b/sys/sys/gtaskqueue.h index 1a76d05a66b5..8c35cb3827a9 100644 --- a/sys/sys/gtaskqueue.h +++ b/sys/sys/gtaskqueue.h @@ -80,7 +80,6 @@ int taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride); #define TASKQGROUP_DECLARE(name) \ extern struct taskqgroup *qgroup_##name - #ifdef EARLY_AP_STARTUP #define TASKQGROUP_DEFINE(name, cnt, stride) \ \ @@ -94,8 +93,7 @@ taskqgroup_define_##name(void *arg) \ } \ \ SYSINIT(taskqgroup_##name, SI_SUB_INIT_IF, SI_ORDER_FIRST, \ - taskqgroup_define_##name, NULL) \ - + taskqgroup_define_##name, NULL) #else /* !EARLY_AP_STARTUP */ #define TASKQGROUP_DEFINE(name, cnt, stride) \ \ @@ -117,8 +115,7 @@ taskqgroup_adjust_##name(void *arg) \ } \ \ SYSINIT(taskqgroup_adj_##name, SI_SUB_SMP, SI_ORDER_ANY, \ - taskqgroup_adjust_##name, NULL) \ - + taskqgroup_adjust_##name, NULL) #endif /* EARLY_AP_STARTUP */ TASKQGROUP_DECLARE(net);