qio: Remove qconsume()
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Mar 2016 18:00:56 +0000 (14:00 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
commitaaaa2bd697d85b960e1fb46091e046b4c38faa7c
treec62ce462652efb41c98e4d76d10c93dfc2aec415
parent799973473c6cb2c3fef00928208921bc5ebeb4d6
qio: Remove qconsume()

It's nasty and no one uses it (in Akaros).  It looks like the uart code
from Plan 9 used it.  This is the same deal as qproduce(), I think.

Specifically, qconsume() consumes up to len from the queue, but only from
the first non-empty block.

If we ever need this, we can bring it back or reimplement it with qget() or
something.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ns.h
kern/src/ns/qio.c