diff options
author | weongyo <weongyo@FreeBSD.org> | 2010-11-24 19:11:32 +0000 |
---|---|---|
committer | weongyo <weongyo@FreeBSD.org> | 2010-11-24 19:11:32 +0000 |
commit | 8a45a8e5b0137ac7d5d8075275a46ccafbfdff25 (patch) | |
tree | 786de02951f53c700caab280a0863db75bca3a41 /sys/dev/usb/controller/usb_controller.c | |
parent | 6febd420298ec8b8ff8f0f166f529d08f2f17de5 (diff) | |
download | FreeBSD-src-8a45a8e5b0137ac7d5d8075275a46ccafbfdff25.zip FreeBSD-src-8a45a8e5b0137ac7d5d8075275a46ccafbfdff25.tar.gz |
Removes all duplicated code with BPF that it's greatly simplified and
take all benefits whenever BPF code is improved.
Pointed by: jkim
Reviewed by: thompsa
Diffstat (limited to 'sys/dev/usb/controller/usb_controller.c')
-rw-r--r-- | sys/dev/usb/controller/usb_controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c index afc2118..a0b915c 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -548,7 +548,7 @@ usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, TAILQ_INIT(&bus->intr_q.head); - usbpf_attach(bus, &bus->uif); + usbpf_attach(bus); #if USB_HAVE_BUSDMA usb_dma_tag_setup(bus->dma_parent_tag, bus->dma_tags, |