1
0
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:
Alexander Motin 2008-11-03 18:28:12 +00:00
parent ea49f15447
commit 9325b9b23b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184596

View File

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