Date: Wed, 24 Nov 2021 21:23:16 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: cb2bfd3ecb70 - main - geom_journal: plug set-but-not-unused vars Message-ID: <202111242123.1AOLNGFm022767@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=cb2bfd3ecb7029fb2ba1d0a8d4091b8b3e68167a commit cb2bfd3ecb7029fb2ba1d0a8d4091b8b3e68167a Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-11-24 21:21:59 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-11-24 21:21:59 +0000 geom_journal: plug set-but-not-unused vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/geom/journal/g_journal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/geom/journal/g_journal.c b/sys/geom/journal/g_journal.c index e57d58d6f7ca..954d0dbf2c6b 100644 --- a/sys/geom/journal/g_journal.c +++ b/sys/geom/journal/g_journal.c @@ -421,15 +421,13 @@ static int g_journal_access(struct g_provider *pp, int acr, int acw, int ace) { struct g_journal_softc *sc; - int dcr, dcw, dce; + int dcw; g_topology_assert(); GJ_DEBUG(2, "Access request for %s: r%dw%de%d.", pp->name, acr, acw, ace); - dcr = pp->acr + acr; dcw = pp->acw + acw; - dce = pp->ace + ace; sc = pp->geom->softc; if (sc == NULL || (sc->sc_flags & GJF_DEVICE_DESTROY)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111242123.1AOLNGFm022767>