PR/50819: David Binderman: Delete dead code.

This commit is contained in:
christos 2016-02-17 20:02:41 +00:00
parent 6e07b6674d
commit f6aa81a51c
1 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_et.c,v 1.10 2016/02/09 08:32:11 ozaki-r Exp $ */
/* $NetBSD: if_et.c,v 1.11 2016/02/17 20:02:41 christos Exp $ */
/* $OpenBSD: if_et.c,v 1.11 2008/06/08 06:18:07 jsg Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.10 2016/02/09 08:32:11 ozaki-r Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.11 2016/02/17 20:02:41 christos Exp $");
#include "opt_inet.h"
#include "vlan.h"
@ -2053,11 +2053,6 @@ et_newbuf(struct et_rxbuf_data *rbd, int buf_idx, int init, int len0)
error = bus_dmamap_load_mbuf(sc->sc_dmat, sc->sc_mbuf_tmp_dmap, m,
init ? BUS_DMA_WAITOK : BUS_DMA_NOWAIT);
if (error) {
if (!error) {
bus_dmamap_unload(sc->sc_dmat, sc->sc_mbuf_tmp_dmap);
error = EFBIG;
aprint_error_dev(sc->sc_dev, "too many segments?!\n");
}
m_freem(m);
/* XXX for debug */