removing if_withname()

Brooks Davis brooks at one-eyed-alien.net
Tue Feb 3 10:33:37 PST 2004


Bruce pointed out that if_withname is inconsistent about IFNAMSIZ.  I
was looking at it and cleaned it up, but then I realized that it is a
really inefficient implementation of ifnet_byindex(sdl->sdl_index).  It
turns out that it's also completely unused so I'd like to remove it
entirely rather then fixing it since it's both broken and pointless.  Is
there any reason not to do so?

I used glimpse and rwatson's fxr to verify that it's unused:

http://fxr.watson.org/fxr/ident?i=if_withname

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040203/29d02b64/attachment-0001.bin


More information about the freebsd-net mailing list