usb: xhci: cleanup cmd_completion in xhci_virt_device
Subsystems (2)
PATCH 1/1 usb: xhci: cleanup cmd_completion in xhci_virt_device
cmd_completion in struct xhci_virt_device is legacy. With command strutcture and command queue introduced in xhci, cmd_completion is not used any more. This patch removes it.
--- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/host/xhci.h | 1 - 2 files changed, 2 deletions(-)
drivers/usb/host/xhci-mem.c +0 -1
@@ -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. */
drivers/usb/host/xhci.h +0 -1
@@ -997,7 +997,6 @@ struct xhci_virt_device {int num_rings_cached;#define XHCI_MAX_RINGS_CACHED 31struct xhci_virt_ep eps[31 ]; -struct completion cmd_completion;u8 fake_port;u8 real_port;struct xhci_interval_bw_table *bw_table;
Signature · 1 line
2.1.4
Quoted 2 lines · Lu Baolu
cmd_completionin structxhci_virt_deviceis legacy. With command strutcture and command queue introduced in xhci,cmd_completionis
Structure.
Quoted 3 lines
not used any more. This patch removes it.
Signed-off-by Lu Baolu <[email protected]>
[...]
MBR, Sergei
Quoted 7 lines · Sergei Shtylyov
Quoted 2 lines · Lu Baolu
cmd_completionin structxhci_virt_deviceis legacy. With command strutcture and command queue introduced in xhci,cmd_completionisStructure.
I'll fix that while applying the patch, no need to resend
-Mathias
Hi,
Quoted 10 lines · Mathias Nyman
Quoted 7 lines · Sergei Shtylyov
Quoted 2 lines · Lu Baolu
cmd_completionin structxhci_virt_deviceis legacy. With command strutcture and command queue introduced in xhci,cmd_completionisStructure.
I'll fix that while applying the patch, no need to resend
Thank you.
Best regards,
Lu Baolu
Quoted 4 lines
-Mathias
Quoted 10 lines · Lu Baolu
cmd_completionin structxhci_virt_deviceis legacy. With command strutcture and command queue introduced in xhci,cmd_completionis not used any more. This patch removes it.Signed-off-by Lu Baolu <[email protected]>--- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/host/xhci.h | 1 - 2 files changed, 2 deletions(-)
Thanks, I'll apply it.
-Mathias