summaryrefslogtreecommitdiffstats
path: root/sys/dev/mwl/if_mwl.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-07-11 13:58:48 +0000
committerglebius <glebius@FreeBSD.org>2014-07-11 13:58:48 +0000
commit023659773927cae58bfbeb48e8e94f566ec515b4 (patch)
tree849fcbce78615f2da6c5ba1bcd0072572fb8a39b /sys/dev/mwl/if_mwl.c
parent7abc3b4099a6b2bf5e0f1deaafbf0c0aab7a3a6a (diff)
downloadFreeBSD-src-023659773927cae58bfbeb48e8e94f566ec515b4.zip
FreeBSD-src-023659773927cae58bfbeb48e8e94f566ec515b4.tar.gz
All mbuf external free functions never fail, so let them be void.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/dev/mwl/if_mwl.c')
-rw-r--r--sys/dev/mwl/if_mwl.c3
1 files changed, 1 insertions, 2 deletions
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 {
OpenPOWER on IntegriCloud