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
db17ba9691
commit
73a709081c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302367
@ -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…
Reference in New Issue
Block a user