mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Remove " + 1".
Thread ID can't be zero anyway while increment may give owerflow.
This commit is contained in:
parent
ea49f15447
commit
9325b9b23b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184596
@ -191,5 +191,5 @@ AcpiOsGetThreadId(void)
|
||||
/* XXX do not add ACPI_FUNCTION_TRACE here, results in recursive call. */
|
||||
|
||||
/* Returning 0 is not allowed. */
|
||||
return (curthread->td_tid + 1);
|
||||
return (curthread->td_tid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user