shithub: riscv

Download patch

ref: 28a855094261138b64839e35348f30c75c29f233
parent: ada1920a0e4787d46402dcdc3e9f3ad3ddae7f0e
author: cinap_lenrek <[email protected]>
date: Sun Sep 18 07:57:10 EDT 2022

usbxhci: eliminate "set but not used" warning

--- a/sys/src/9/port/usbxhci.c
+++ b/sys/src/9/port/usbxhci.c
@@ -1353,7 +1353,6 @@
 				memmove(p, d, n);
 				io->nleft += n;
 				p += n;
-				n = 0;
 				break;
 			}
 			dmaflush(0, d, m);