Page MenuHomeFreeBSD

route: remove write-only struct hostent from getaddr()
ClosedPublic

Authored by emaste on Jan 2 2022, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 10:42 AM
Unknown Object (File)
Thu, Jan 16, 10:38 AM
Unknown Object (File)
Thu, Jan 16, 10:38 AM
Unknown Object (File)
Thu, Jan 16, 7:41 AM
Unknown Object (File)
Sat, Jan 11, 8:57 AM
Unknown Object (File)
Thu, Jan 2, 9:30 PM
Unknown Object (File)
Dec 19 2024, 6:36 PM
Unknown Object (File)
Dec 11 2024, 12:51 PM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
emaste added reviewers: melifaro, imp, hrs.
emaste added a subscriber: freebsd-net-list.

remove now-unused variable

As @melifaro pointed out to prompt this change hp was passed to three getaddr() calls in newroute(), and was not otherwise used, and getaddr() does not use the passed-in value.

This revision is now accepted and ready to land.Jan 5 2022, 5:03 PM