diff options
author | Warner Losh <imp@bsdimp.com> | 2021-09-18 22:03:43 -0600 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2021-10-18 12:51:39 -0600 |
commit | 7aac7392346d1f5bb9fc31cb7e4f3f1f3fc2be05 (patch) | |
tree | 250d02eca770a56066286a83ae7566a7d2ca0ed9 /bsd-user/main.c | |
parent | f6f0706cc2081ebaf786603aaaf204ae5a39dda7 (diff) | |
download | qemu-7aac7392346d1f5bb9fc31cb7e4f3f1f3fc2be05.zip qemu-7aac7392346d1f5bb9fc31cb7e4f3f1f3fc2be05.tar.gz qemu-7aac7392346d1f5bb9fc31cb7e4f3f1f3fc2be05.tar.bz2 |
bsd-user: Remove used from TaskState
The 'used' field in TaskState is write only. Remove it from TaskState.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 48643ee..ee84554 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -210,7 +210,6 @@ void init_task_state(TaskState *ts) { int i; - ts->used = 1; ts->first_free = ts->sigqueue_table; for (i = 0; i < MAX_SIGQUEUE_SIZE - 1; i++) { ts->sigqueue_table[i].next = &ts->sigqueue_table[i + 1]; |