Author: ngie
Date: Wed Jul  6 05:11:39 2016
New Revision: 302367
URL: https://svnweb.freebsd.org/changeset/base/302367

Log:
  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

Modified:
  head/usr.sbin/bhyve/ps2kbd.c

Modified: head/usr.sbin/bhyve/ps2kbd.c
==============================================================================
--- head/usr.sbin/bhyve/ps2kbd.c        Wed Jul  6 05:09:13 2016        
(r302366)
+++ head/usr.sbin/bhyve/ps2kbd.c        Wed Jul  6 05:11:39 2016        
(r302367)
@@ -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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to