From a86c5d828b5b1dc7c9fdf2356132272d84117de7 Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 4 Jun 2017 19:23:20 +0000 Subject: [PATCH] Remove unused function, as pointed out by clang. ok deraadt@ kettenis@ --- sys/dev/isa/if_eg.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index 0f5f0082077..7a17a3ef5a3 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eg.c,v 1.47 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_eg.c,v 1.48 2017/06/04 19:23:20 naddy Exp $ */ /* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */ /* @@ -118,7 +118,6 @@ struct mbuf *egget(struct eg_softc *, caddr_t, int); 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 *); @@ -139,19 +138,6 @@ egprintpcb(struct eg_softc *sc) } -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) { -- 2.20.1