tech-kern archive

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

Re: Bogus comment about dkwedge_list() [sys/dev/dkwedge/dk.c]



kre%munnari.OZ.AU@localhost (Robert Elz) writes:

>The trailing two lines of the comment (starting with "If p == NULL,")
>should just be deleted I suspect.

The original code the comment was written for was removed.

revision 1.51
date: 2009-09-08 23:14:33 +0200;  author: pooka;  state: Exp;  lines: +4 -16;
dkwedge_list() is currently called only from ioctl routines where
l == curlwp.  Since there is no perceived case where we'd ever want
to copy the list to non-curlwp, simplify the code a bit.
(the struct lwp * argument could probably be dropped too, but
that's another commit)

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index