diff options
Diffstat (limited to 'sys/dev/pci/if_ixgb.c')
-rw-r--r-- | sys/dev/pci/if_ixgb.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/if_ixgb.c b/sys/dev/pci/if_ixgb.c index 648ac634aa4..14ec3f9757f 100644 --- a/sys/dev/pci/if_ixgb.c +++ b/sys/dev/pci/if_ixgb.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_ixgb.c,v 1.45 2008/09/10 14:01:22 blambert Exp $ */ +/* $OpenBSD: if_ixgb.c,v 1.46 2008/09/24 19:12:59 chl Exp $ */ #include <dev/pci/if_ixgb.h> @@ -1475,11 +1475,8 @@ ixgb_get_buf(struct ixgb_softc *sc, int i, { struct mbuf *mp = nmp; struct ixgb_buffer *rx_buffer; - struct ifnet *ifp; int error; - ifp = &sc->interface_data.ac_if; - if (mp == NULL) { MGETHDR(mp, M_DONTWAIT, MT_DATA); if (mp == NULL) { @@ -1605,11 +1602,8 @@ ixgb_initialize_receive_unit(struct ixgb_softc *sc) u_int32_t reg_rctl; u_int32_t reg_rxcsum; u_int32_t reg_rxdctl; - struct ifnet *ifp; u_int64_t bus_addr; - ifp = &sc->interface_data.ac_if; - /* * Make sure receives are disabled while setting up the descriptor * ring |