Remove " + 1".

Thread ID can't be zero anyway while increment may give owerflow.
This commit is contained in:
mav 2008-11-03 18:28:12 +00:00
parent 3480dc7ca9
commit d69ede8261

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