Fix gcc warnings
Remove unused function (`fifo_available`) Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D7119 MFC after: 1 week X-MFC with: r302332 Reported by: Jenkins Reviewed by: grehan (maintainer) Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
fa61712b7f
commit
44da817a3d
@ -93,15 +93,6 @@ fifo_reset(struct ps2kbd_softc *sc)
|
||||
fifo->size = sizeof(((struct fifo *)0)->buf);
|
||||
}
|
||||
|
||||
static int
|
||||
fifo_available(struct ps2kbd_softc *sc)
|
||||
{
|
||||
struct fifo *fifo;
|
||||
|
||||
fifo = &sc->fifo;
|
||||
return (fifo->num < fifo->size);
|
||||
}
|
||||
|
||||
static void
|
||||
fifo_put(struct ps2kbd_softc *sc, uint8_t val)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user