]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/xhci-ring.c
USB: xhci: Remove buggy assignment in next_trb()
[karo-tx-linux.git] / drivers / usb / host / xhci-ring.c
index 40cba25b12377d57fcc61365f4624ab368ce6973..632a7b60ed106250961bcc95c31f51b65d99082a 100644 (file)
@@ -125,7 +125,7 @@ static void next_trb(struct xhci_hcd *xhci,
                *seg = (*seg)->next;
                *trb = ((*seg)->trbs);
        } else {
-               *trb = (*trb)++;
+               (*trb)++;
        }
 }