Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2022 01:31:51 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 438548300b53 - main - ehci_imx: Remove unused variable.
Message-ID:  <202204090131.2391Vprk049463@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204090131.2391Vprk049463>