ANDROID: remove unused xhci_get_endpoint_address export
In commit731d2da95e
("ANDROID: usb: host: export xhci symbols for ring management"), many xhci symbols were exported, but xhci_get_endpoint_address was never actually used by any external modules, so remove the export as it is unneeded. Bug: 183761108 Bug: 203756332 Cc: Daehwan Jung <dh10.jung@samsung.com> Fixes:731d2da95e
("ANDROID: usb: host: export xhci symbols for ring management") Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I08aab7192297c832f5a9dd559a016e6ff1140b86
This commit is contained in:
@@ -1334,7 +1334,6 @@ unsigned int xhci_get_endpoint_address(unsigned int ep_index)
|
||||
unsigned int direction = ep_index % 2 ? USB_DIR_OUT : USB_DIR_IN;
|
||||
return direction | number;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(xhci_get_endpoint_address);
|
||||
|
||||
/* Find the flag for this endpoint (for use in the control context). Use the
|
||||
* endpoint index to create a bitmask. The slot context is bit 0, endpoint 0 is
|
||||
|
Reference in New Issue
Block a user