Page MenuHomeFreeBSD

Remove unused error return from API that cannot fail
ClosedPublic

Authored by cem on Feb 15 2018, 1:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 23 2024, 7:38 PM
Unknown Object (File)
Oct 1 2024, 5:25 AM
Unknown Object (File)
Sep 18 2024, 6:02 AM
Unknown Object (File)
Sep 13 2024, 12:28 AM
Unknown Object (File)
Sep 8 2024, 1:41 PM
Unknown Object (File)
Sep 8 2024, 11:11 AM
Unknown Object (File)
Sep 7 2024, 7:57 PM
Unknown Object (File)
Sep 5 2024, 11:03 PM

Details

Summary

No implementation of fpu_kern_enter() can fail, and it was causing needless
error checking boilerplate and confusion. Change the return code to void to
match reality.

Reported by: Lachlan Mcilroy <Lachlan.McIlroy AT isilon.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

(Secteam blessing needed only for trivial dev/random change.)

Ping @secteam, it's been about a week. This change is pretty trivially correct. I'm ready to "Approved by: secteam (timeout)". Thanks.

This revision is now accepted and ready to land.Feb 23 2018, 7:30 AM
This revision was automatically updated to reflect the committed changes.

You have not updated manual page, but the change looks otherwise fine to me.

You have not updated manual page, but the change looks otherwise fine to me.

Good point. Fixed in r330619.