summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-05-17 03:38:29 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-17 03:38:29 -0700
commit125f0beedcf6f079fc0b8c4f2d9307e9d8f479b1 (patch)
tree68e46bc96c7033ec07ce210de0850cf594caec84 /drivers/usb
parent99a11f15e4ced45efe166f1bf3b073be06f71db4 (diff)
parent09dc84033d68c64a0ea159dd6f0083a4061a1f18 (diff)
Merge "Revert "usb: host: xhci: Add helper function to return controller id""
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci.c8
-rw-r--r--drivers/usb/host/xhci.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 8a4217c0c56c..4954e22a421b 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -5035,13 +5035,6 @@ dma_addr_t xhci_get_xfer_ring_dma_addr(struct usb_hcd *hcd,
return 0;
}
-int xhci_get_core_id(struct usb_hcd *hcd)
-{
- struct xhci_hcd *xhci = hcd_to_xhci(hcd);
-
- return xhci->core_id;
-}
-
static const struct hc_driver xhci_hc_driver = {
.description = "xhci-hcd",
.product_desc = "xHCI Host Controller",
@@ -5106,7 +5099,6 @@ static const struct hc_driver xhci_hc_driver = {
.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,
};
void xhci_init_driver(struct hc_driver *drv,
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index ac637dc6e3cc..f583cefecee0 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1948,7 +1948,6 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
char *buf, u16 wLength);
int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);
int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
-int xhci_get_core_id(struct usb_hcd *hcd);
#ifdef CONFIG_PM
int xhci_bus_suspend(struct usb_hcd *hcd);