diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-03-25 12:50:57 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-03-25 12:50:57 +0000 |
| commit | 5135f8e6878518d20091f17495605527185a720a (patch) | |
| tree | a21389e2d14f01d6493410b27b2c18b81c27ab01 /sys/dev/usb/if_cue.c | |
| parent | 87fcbb8fe03b0ed8c217829059c064abf1610ab7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/if_cue.c')
| -rw-r--r-- | sys/dev/usb/if_cue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 29723fc776f2a..b0ef7e695c1e0 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -864,7 +864,7 @@ cue_init(void *xsc) /* Init TX ring. */ if (usb_ether_tx_list_init(sc, &sc->cue_cdata, - USBDEVNAME(sc->cue_dev), sc->cue_udev) == ENOBUFS) { + sc->cue_udev) == ENOBUFS) { printf("cue%d: tx list init failed\n", sc->cue_unit); CUE_UNLOCK(sc); return; @@ -872,7 +872,7 @@ cue_init(void *xsc) /* Init RX ring. */ if (usb_ether_rx_list_init(sc, &sc->cue_cdata, - USBDEVNAME(sc->cue_dev), sc->cue_udev) == ENOBUFS) { + sc->cue_udev) == ENOBUFS) { printf("cue%d: rx list init failed\n", sc->cue_unit); CUE_UNLOCK(sc); return; @@ -1010,7 +1010,6 @@ cue_stop(struct cue_softc *sc) { usbd_status err; struct ifnet *ifp; - int i; CUE_LOCK(sc); |
