diff options
author | glebius <glebius@FreeBSD.org> | 2014-07-11 13:58:48 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-07-11 13:58:48 +0000 |
commit | 023659773927cae58bfbeb48e8e94f566ec515b4 (patch) | |
tree | 849fcbce78615f2da6c5ba1bcd0072572fb8a39b /sys/dev/wb | |
parent | 7abc3b4099a6b2bf5e0f1deaafbf0c0aab7a3a6a (diff) | |
download | FreeBSD-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/wb')
-rw-r--r-- | sys/dev/wb/if_wb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c index a126d4a..dd087a9 100644 --- a/sys/dev/wb/if_wb.c +++ b/sys/dev/wb/if_wb.c @@ -143,7 +143,7 @@ static int wb_probe(device_t); static int wb_attach(device_t); static int wb_detach(device_t); -static int wb_bfree(struct mbuf *, void *addr, void *args); +static void wb_bfree(struct mbuf *, void *addr, void *args); static int wb_newbuf(struct wb_softc *, struct wb_chain_onefrag *, struct mbuf *); static int wb_encap(struct wb_softc *, struct wb_chain *, struct mbuf *); @@ -823,11 +823,9 @@ wb_list_rx_init(sc) return(0); } -static int +static void wb_bfree(struct mbuf *m, void *buf, void *args) { - - return (EXT_FREE_OK); } /* |