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)
Wed, Jan 29, 5:26 PM
Unknown Object (File)
Fri, Jan 24, 5:35 PM
Unknown Object (File)
Thu, Jan 23, 6:57 PM
Unknown Object (File)
Jan 18 2025, 5:06 PM
Unknown Object (File)
Jan 18 2025, 5:51 AM
Unknown Object (File)
Nov 28 2024, 11:06 AM
Unknown Object (File)
Nov 26 2024, 1:46 PM
Unknown Object (File)
Oct 23 2024, 7:38 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 Passed
Unit
No Test Coverage
Build Status
Buildable 15056
Build 15154: arc lint + arc unit

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.