Remove unused function egprintstat(), as pointed out by clang. ok?
Index: if_eg.c =================================================================== RCS file: /cvs/src/sys/dev/isa/if_eg.c,v retrieving revision 1.47 diff -u -p -r1.47 if_eg.c --- if_eg.c 22 Jan 2017 10:17:38 -0000 1.47 +++ if_eg.c 4 Jun 2017 17:09:59 -0000 @@ -118,7 +118,6 @@ struct mbuf *egget(struct eg_softc *, ca void egstop(struct eg_softc *); static __inline void egprintpcb(struct eg_softc *); -static __inline void egprintstat(u_char); static int egoutPCB(struct eg_softc *, u_char); static int egreadPCBstat(struct eg_softc *, u_char); static int egreadPCBready(struct eg_softc *); @@ -138,19 +137,6 @@ egprintpcb(struct eg_softc *sc) DPRINTF(("pcb[%2d] = %x\n", i, sc->eg_pcb[i])); } - -static __inline void -egprintstat(u_char b) -{ - DPRINTF(("%s %s %s %s %s %s %s\n", - (b & EG_STAT_HCRE)?"HCRE":"", - (b & EG_STAT_ACRF)?"ACRF":"", - (b & EG_STAT_DIR )?"DIR ":"", - (b & EG_STAT_DONE)?"DONE":"", - (b & EG_STAT_ASF3)?"ASF3":"", - (b & EG_STAT_ASF2)?"ASF2":"", - (b & EG_STAT_ASF1)?"ASF1":"")); -} static int egoutPCB(struct eg_softc *sc, u_char b) -- Christian "naddy" Weisgerber na...@mips.inka.de