tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unused functions in kernels



> But there are other cases where the functions are really dead. Such as 
> fpu_cordit2() :)

It should be static instead?  (note fpu_cordic.c was added in 2013)
https://nxr.netbsd.org/search?q=fpu_cordit2&project=src

I wonder if others are really unused.
DCIU() is referred in sun3/sun3/sys_machdep.c and sun3/sun3/trap.c.
_Idle() is referred in sun3/sun3/clock.c, via an awful cast.
etc. etc.

--
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index