This patch fixes checkpatch.pl warning: braces {} are not necessary for single statement blocks Signed-off-by: Amit Kushwaha <kushwaha.nitt@xxxxxxxxx> --- drivers/usb/host/xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 1a4ca02..168f5ac0 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -2808,9 +2808,9 @@ int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) /* Only cache or free the old ring if it exists. * It may not if this is the first add of an endpoint. */ - if (virt_dev->eps[i].ring) { + if (virt_dev->eps[i].ring) xhci_free_or_cache_endpoint_ring(xhci, virt_dev, i); - } + xhci_check_bw_drop_ep_streams(xhci, virt_dev, i); virt_dev->eps[i].ring = virt_dev->eps[i].new_ring; virt_dev->eps[i].new_ring = NULL; -- 2.10.2.windows.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html