xhci: make xhci_epid_to_usbep accept XHCIEPContext
commit070eeef9e0821fbaeda7002de4ee61b5b4015fa6
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Sep 2016 08:32:52 +0000 (27 10:32 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Oct 2016 10:37:31 +0000 (12 12:37 +0200)
tree84b1f463750c01ccbc8e54bcd6009a6a5038237e
parentd6fcb2936f9bacf3ad696e957e229ee2aadc0d0d
xhci: make xhci_epid_to_usbep accept XHCIEPContext

All callsites have a XHCIEPContext pointer anyway, so we can just pass
it directly instead of fiddeling with slotid and epid.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1474965172-30321-9-git-send-email-kraxel@redhat.com
hw/usb/hcd-xhci.c