summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2016-11-11 14:13:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-14 10:18:22 +0100
commit228cfaea541824ac9bb0c83d957e8b34d631f58a (patch)
treed6de737c5161cf3bb0be0268c6ab35ecc3644a8f /drivers/usb/host/xhci-mem.c
parentxhci: add helper to get the endpoint state of a endpoint context (diff)
downloadlinux-228cfaea541824ac9bb0c83d957e8b34d631f58a.tar.xz
linux-228cfaea541824ac9bb0c83d957e8b34d631f58a.zip
usb: xhci: cleanup cmd_completion in xhci_virt_device
cmd_completion in struct xhci_virt_device is legacy. With command structure and command queue introduced in xhci, cmd_completion is not used any more. This patch removes it. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 6afe32381209..8102a86f249c 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1032,7 +1032,6 @@ int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id,
goto fail;
dev->num_rings_cached = 0;
- init_completion(&dev->cmd_completion);
dev->udev = udev;
/* Point to output device context in dcbaa. */