git: 9763453cd9b3 - stable/13 - quicc_bus_setsig: eliminate write only variable bas

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 02 Oct 2022 04:29:54 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9763453cd9b309ceba5f6f417654e529f56ecd9e

commit 9763453cd9b309ceba5f6f417654e529f56ecd9e
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:33 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-02 04:25:55 +0000

    quicc_bus_setsig: eliminate write only variable bas
    
    Sponsored by:           Netflix
    
    (cherry picked from commit c8fe3923d8d969efea24b7107a825de02b8a4b0d)
---
 sys/dev/uart/uart_dev_quicc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/uart/uart_dev_quicc.c b/sys/dev/uart/uart_dev_quicc.c
index 7dec50a732af..54b9c1ee628d 100644
--- a/sys/dev/uart/uart_dev_quicc.c
+++ b/sys/dev/uart/uart_dev_quicc.c
@@ -450,10 +450,8 @@ quicc_bus_receive(struct uart_softc *sc)
 static int
 quicc_bus_setsig(struct uart_softc *sc, int sig)
 {
-	struct uart_bas *bas;
 	uint32_t new, old;
 
-	bas = &sc->sc_bas;
 	do {
 		old = sc->sc_hwsig;
 		new = old;