Page MenuHomeFreeBSD

nsdispatch(3): drop useless atexit hook
AbandonedPublic

Authored by trasz on Dec 27 2020, 4:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 4:05 PM
Unknown Object (File)
Wed, Oct 30, 6:26 PM
Unknown Object (File)
Sat, Oct 26, 11:29 PM
Unknown Object (File)
Sep 30 2024, 4:53 PM
Unknown Object (File)
Sep 27 2024, 12:47 PM
Unknown Object (File)
Sep 12 2024, 8:44 AM
Unknown Object (File)
Sep 9 2024, 2:16 AM
Unknown Object (File)
Sep 9 2024, 1:12 AM
Subscribers

Details

Reviewers
markj
Summary

Explicitly freeing resources on exit makes no sense.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35711
Build 32600: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Dec 27 2020, 4:54 PM

Also remove now useless variable.

This does more than just free resources though - ns_mod_free() calls the unregister hook for each loaded module. Are you sure it is unnecessary?