git: f602f7e6f708 - main - opalflash: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:30 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f602f7e6f708842ed410778fde8b2ffeed6d07e5 commit f602f7e6f708842ed410778fde8b2ffeed6d07e5 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-12 21:58:59 +0000 opalflash: Remove unused variable. --- sys/powerpc/powernv/opal_flash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/powerpc/powernv/opal_flash.c b/sys/powerpc/powernv/opal_flash.c index 478285518725..5c56a0018ff5 100644 --- a/sys/powerpc/powernv/opal_flash.c +++ b/sys/powerpc/powernv/opal_flash.c @@ -289,12 +289,10 @@ opalflash_task(void *arg) { struct opalflash_softc *sc; struct bio *bp; - device_t dev; sc = arg; for (;;) { - dev = sc->sc_dev; OPALFLASH_LOCK(sc); do { bp = bioq_first(&sc->sc_bio_queue);