git: 0680f1bf4ae7 - stable/13 - mx25l_task: eliminate dev write only variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:27 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0680f1bf4ae7b0b35d69cb6d6ef9fca4197537f0 commit 0680f1bf4ae7b0b35d69cb6d6ef9fca4197537f0 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 17:53:30 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-10-02 04:25:52 +0000 mx25l_task: eliminate dev write only variable Sponsored by: Netflix (cherry picked from commit edcced8ab790ee677130166fa060d96c4eb31550) --- sys/dev/flash/mx25l.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c index 9608bbf57314..dfe670f73aee 100644 --- a/sys/dev/flash/mx25l.c +++ b/sys/dev/flash/mx25l.c @@ -633,10 +633,8 @@ mx25l_task(void *arg) { struct mx25l_softc *sc = (struct mx25l_softc*)arg; struct bio *bp; - device_t dev; for (;;) { - dev = sc->sc_dev; M25PXX_LOCK(sc); do { if (sc->sc_taskstate == TSTATE_STOPPING) {