We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e6d2b9 commit 311d5bfCopy full SHA for 311d5bf
os/sys/process.c
@@ -51,8 +51,8 @@
51
/*
52
* Pointer to the currently running process structure.
53
*/
54
-struct process *process_list = NULL;
55
-struct process *process_current = NULL;
+struct process *process_list;
+struct process *process_current;
56
57
static process_event_t lastevent;
58
@@ -210,13 +210,6 @@ void
210
process_init(void)
211
{
212
lastevent = PROCESS_EVENT_MAX;
213
-
214
- nevents = fevent = 0;
215
-#if PROCESS_CONF_STATS
216
- process_maxevents = 0;
217
-#endif /* PROCESS_CONF_STATS */
218
219
- process_current = process_list = NULL;
220
}
221
/*---------------------------------------------------------------------------*/
222
0 commit comments