From 023659773927cae58bfbeb48e8e94f566ec515b4 Mon Sep 17 00:00:00 2001 From: glebius Date: Fri, 11 Jul 2014 13:58:48 +0000 Subject: All mbuf external free functions never fail, so let them be void. Sponsored by: Nginx, Inc. --- sys/dev/mwl/if_mwl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/mwl/if_mwl.c') diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index b5bd9bd..7b33088 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -2605,7 +2605,7 @@ mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) return 0; } -static int +static void mwl_ext_free(struct mbuf *m, void *data, void *arg) { struct mwl_softc *sc = arg; @@ -2621,7 +2621,6 @@ mwl_ext_free(struct mbuf *m, void *data, void *arg) sc->sc_rxblocked = 0; mwl_hal_intrset(sc->sc_mh, sc->sc_imask); } - return (EXT_FREE_OK); } struct mwl_frame_bar { -- cgit v1.1