git: 9e420b3742af - main - uart_dev_lowrisc: Remove unused variables in stub functions.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 12 Apr 2022 21:59:07 UTC
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 */