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);