git: 438548300b53 - main - ehci_imx: Remove unused variable.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 01:31:51 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=438548300b533595dc36ef03e7133ce67d8be492

commit 438548300b533595dc36ef03e7133ce67d8be492
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 01:31:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 01:31:29 +0000

    ehci_imx: Remove unused variable.
---
 sys/dev/usb/controller/ehci_imx.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/usb/controller/ehci_imx.c b/sys/dev/usb/controller/ehci_imx.c
index f5c63ae1c7b5..a93b187f84cd 100644
--- a/sys/dev/usb/controller/ehci_imx.c
+++ b/sys/dev/usb/controller/ehci_imx.c
@@ -208,10 +208,9 @@ static int
 imx_usbmisc_attach(device_t dev)
 {
 	struct imx_usbmisc_softc *sc;
-	int err, rid;
+	int rid;
 
 	sc = device_get_softc(dev);
-	err = 0;
 
 	/* Allocate bus_space resources. */
 	rid = 0;