aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/lge/if_lge.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-07-11 13:58:48 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-07-11 13:58:48 +0000
commit15c28f87b8e2f80dfed9581d51e21c026716af6c (patch)
tree849fcbce78615f2da6c5ba1bcd0072572fb8a39b /sys/dev/lge/if_lge.c
parentb0819f9877b1827d5c0c58c62b33622d519e876a (diff)
Notes
Diffstat (limited to 'sys/dev/lge/if_lge.c')
-rw-r--r--sys/dev/lge/if_lge.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c
index 7f03e8baffcff..94f326f8de2a1 100644
--- a/sys/dev/lge/if_lge.c
+++ b/sys/dev/lge/if_lge.c
@@ -123,7 +123,7 @@ static int lge_detach(device_t);
static int lge_alloc_jumbo_mem(struct lge_softc *);
static void lge_free_jumbo_mem(struct lge_softc *);
static void *lge_jalloc(struct lge_softc *);
-static int lge_jfree(struct mbuf *, void *, void *);
+static void lge_jfree(struct mbuf *, void *, void *);
static int lge_newbuf(struct lge_softc *, struct lge_rx_desc *, struct mbuf *);
static int lge_encap(struct lge_softc *, struct mbuf *, u_int32_t *);
@@ -847,7 +847,7 @@ lge_jalloc(sc)
/*
* Release a jumbo buffer.
*/
-static int
+static void
lge_jfree(struct mbuf *m, void *buf, void *args)
{
struct lge_softc *sc;
@@ -873,8 +873,6 @@ lge_jfree(struct mbuf *m, void *buf, void *args)
entry->slot = i;
SLIST_REMOVE_HEAD(&sc->lge_jinuse_listhead, jpool_entries);
SLIST_INSERT_HEAD(&sc->lge_jfree_listhead, entry, jpool_entries);
-
- return (EXT_FREE_OK);
}
/*