git: c8fe3923d8d9 - main - quicc_bus_setsig: eliminate write only variable bas
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:45 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c8fe3923d8d969efea24b7107a825de02b8a4b0d commit c8fe3923d8d969efea24b7107a825de02b8a4b0d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 02:25:23 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 04:30:20 +0000 quicc_bus_setsig: eliminate write only variable bas Sponsored by: Netflix --- 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;