uipc_sockbuf sysctl

Sam Banks w0lfie at clear.net.nz
Sat Sep 29 17:33:14 PDT 2007


Hey all,

I have started looking into cleaning up sysctl's with empty
descriptions and have come across kern.dummy.

Looking into sys/kern/uipc_sockbuf.c, kern.dummy does
absolutely nothing other than offer the ability to change
it. The variable that the sysctl call populates (dummy) is
not used directly in sys/kern/uipc_sockbuf.c or, as far as I
can see, anywhere in the sys/ code.

Is there a reason I'm missing why this seemingly uneeded
sysctl call is in the code or can it be removed with the
attached patch?

Cheers,

Sam.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uipc_sockbuf.c.diff
Type: application/octet-stream
Size: 741 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070930/2894466b/uipc_sockbuf.c.obj


More information about the freebsd-current mailing list