shithub: riscv

Download patch

ref: 3839ad4d3c9b26b8a5d564d1d8f09490799e4cd7
parent: fa0906923c0eaaae18da95104d30e6f858f2f145
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Aug 16 06:09:12 EDT 2022

imx8/usbxhciimx: fix a set and not used warning

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