diff options
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 7f236fd2201..2cb5932935d 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -1243,8 +1243,6 @@ struct xhci_hcd { | |||
1243 | */ | 1243 | */ |
1244 | #define XHCI_STATE_DYING (1 << 0) | 1244 | #define XHCI_STATE_DYING (1 << 0) |
1245 | /* Statistics */ | 1245 | /* Statistics */ |
1246 | int noops_submitted; | ||
1247 | int noops_handled; | ||
1248 | int error_bitmask; | 1246 | int error_bitmask; |
1249 | unsigned int quirks; | 1247 | unsigned int quirks; |
1250 | #define XHCI_LINK_TRB_QUIRK (1 << 0) | 1248 | #define XHCI_LINK_TRB_QUIRK (1 << 0) |
@@ -1264,9 +1262,6 @@ struct xhci_hcd { | |||
1264 | unsigned int num_usb2_ports; | 1262 | unsigned int num_usb2_ports; |
1265 | }; | 1263 | }; |
1266 | 1264 | ||
1267 | /* For testing purposes */ | ||
1268 | #define NUM_TEST_NOOPS 0 | ||
1269 | |||
1270 | /* convert between an HCD pointer and the corresponding EHCI_HCD */ | 1265 | /* convert between an HCD pointer and the corresponding EHCI_HCD */ |
1271 | static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) | 1266 | static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) |
1272 | { | 1267 | { |
@@ -1471,7 +1466,6 @@ struct xhci_segment *trb_in_td(struct xhci_segment *start_seg, | |||
1471 | dma_addr_t suspect_dma); | 1466 | dma_addr_t suspect_dma); |
1472 | int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code); | 1467 | int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code); |
1473 | void xhci_ring_cmd_db(struct xhci_hcd *xhci); | 1468 | void xhci_ring_cmd_db(struct xhci_hcd *xhci); |
1474 | void *xhci_setup_one_noop(struct xhci_hcd *xhci); | ||
1475 | int xhci_queue_slot_control(struct xhci_hcd *xhci, u32 trb_type, u32 slot_id); | 1469 | int xhci_queue_slot_control(struct xhci_hcd *xhci, u32 trb_type, u32 slot_id); |
1476 | int xhci_queue_address_device(struct xhci_hcd *xhci, dma_addr_t in_ctx_ptr, | 1470 | int xhci_queue_address_device(struct xhci_hcd *xhci, dma_addr_t in_ctx_ptr, |
1477 | u32 slot_id); | 1471 | u32 slot_id); |