tech-kern archive

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

Re: raw_usrreq.c:raw_input() "sockets" variable

On Thu, May 29, 2008 at 10:14:09AM -0700, J.T. Conklin wrote:
> Hi,
> While reading raw_input(), I noticed it initializes the local variable
> "sockets" and increments it each time a process is woken up, but it is
> apparently otherwise unused.  I checked TCP/IP Illustrated, and it was
> apparently the case back then too.  Is there any reason why this value
> is maintained?  Can we expect gcc to optimize it out?  Should it be
> removed?

I removed it.


David Young             OJC Technologies      Urbana, IL * (217) 278-3933 ext 24

Home | Main Index | Thread Index | Old Index