Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 21:59:07 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: 9e420b3742af - main - uart_dev_lowrisc: Remove unused variables in stub functions.
Message-ID:  <202204122159.23CLx7LN035097@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=9e420b3742afcba4d188ce190358361bd2668fbb

commit 9e420b3742afcba4d188ce190358361bd2668fbb
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:57 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-12 21:58:57 +0000

    uart_dev_lowrisc: Remove unused variables in stub functions.
---
 sys/dev/uart/uart_dev_lowrisc.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/dev/uart/uart_dev_lowrisc.c b/sys/dev/uart/uart_dev_lowrisc.c
index 5bebfb7aac82..4347a82228b4 100644
--- a/sys/dev/uart/uart_dev_lowrisc.c
+++ b/sys/dev/uart/uart_dev_lowrisc.c
@@ -371,9 +371,6 @@ lowrisc_uart_bus_transmit(struct uart_softc *sc)
 static void
 lowrisc_uart_bus_grab(struct uart_softc *sc)
 {
-	struct uart_bas *bas;
-
-	bas = &sc->sc_bas;
 
 	uart_lock(sc->sc_hwmtx);
 	/* TODO */
@@ -383,9 +380,6 @@ lowrisc_uart_bus_grab(struct uart_softc *sc)
 static void
 lowrisc_uart_bus_ungrab(struct uart_softc *sc)
 {
-	struct uart_bas *bas;
-
-	bas = &sc->sc_bas;
 
 	uart_lock(sc->sc_hwmtx);
 	/* TODO */



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