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
F133723252: D33717.id100815.diff
Mon, Oct 27, 10:01 PM
F133708746: D33717.diff
Mon, Oct 27, 6:54 PM
Unknown Object (File)
Mon, Oct 27, 3:45 AM
Unknown Object (File)
Mon, Oct 27, 3:44 AM
Unknown Object (File)
Sun, Oct 26, 11:36 PM
Unknown Object (File)
Sun, Oct 26, 8:25 PM
Unknown Object (File)
Sun, Oct 26, 1:01 PM
Unknown Object (File)
Sat, Oct 18, 1:35 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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