libkern: Trim OBE comment from divmoddi routines.

-1/2 is defined to be 0 in modern C.

Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D40833
This commit is contained in:
John Baldwin 2023-07-01 14:43:53 -07:00
parent df11fb9bf0
commit 84deca4d8c
3 changed files with 0 additions and 5 deletions

View file

@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
/*
* Divide two signed quads.
* ??? if -1/2 should produce -1 on this machine, this code is wrong
*/
quad_t
__divdi3(quad_t a, quad_t b)

View file

@ -37,7 +37,6 @@
/*
* Divide two signed quads.
* ??? if -1/2 should produce -1 on this machine, this code is wrong
*/
quad_t
__divmoddi4(quad_t a, quad_t b, quad_t *rem)

View file

@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
/*
* Return remainder after dividing two signed quads.
*
* XXX
* If -1/2 should produce -1 on this machine, this code is wrong.
*/
quad_t
__moddi3(quad_t a, quad_t b)