usb: host: xhci: Remove helper API retuning dcba dma address
Since dcba dma address is not required by class driver therefore remove the API definition. Change-Id: I6851729f1ad4254bbfaf179755d9afa7870e8e01 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
parent
039bcf340e
commit
9c1d883952
2 changed files with 0 additions and 14 deletions
|
@ -4995,17 +4995,6 @@ dma_addr_t xhci_get_sec_event_ring_dma_addr(struct usb_hcd *hcd,
|
|||
return 0;
|
||||
}
|
||||
|
||||
dma_addr_t xhci_get_dcba_dma_addr(struct usb_hcd *hcd,
|
||||
struct usb_device *udev)
|
||||
{
|
||||
struct xhci_hcd *xhci = hcd_to_xhci(hcd);
|
||||
|
||||
if (!(xhci->xhc_state & XHCI_STATE_HALTED) && xhci->dcbaa)
|
||||
return xhci->dcbaa->dev_context_ptrs[udev->slot_id];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
dma_addr_t xhci_get_xfer_ring_dma_addr(struct usb_hcd *hcd,
|
||||
struct usb_device *udev, struct usb_host_endpoint *ep)
|
||||
{
|
||||
|
@ -5101,7 +5090,6 @@ static const struct hc_driver xhci_hc_driver = {
|
|||
.sec_event_ring_cleanup = xhci_sec_event_ring_cleanup,
|
||||
.get_sec_event_ring_dma_addr = xhci_get_sec_event_ring_dma_addr,
|
||||
.get_xfer_ring_dma_addr = xhci_get_xfer_ring_dma_addr,
|
||||
.get_dcba_dma_addr = xhci_get_dcba_dma_addr,
|
||||
.get_core_id = xhci_get_core_id,
|
||||
};
|
||||
|
||||
|
|
|
@ -403,8 +403,6 @@ struct hc_driver {
|
|||
unsigned intr_num);
|
||||
dma_addr_t (*get_xfer_ring_dma_addr)(struct usb_hcd *hcd,
|
||||
struct usb_device *udev, struct usb_host_endpoint *ep);
|
||||
dma_addr_t (*get_dcba_dma_addr)(struct usb_hcd *hcd,
|
||||
struct usb_device *udev);
|
||||
int (*get_core_id)(struct usb_hcd *hcd);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue