Date: Tue, 5 Apr 2022 04:32:08 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 5466363900d2 - main - bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable Message-ID: <202204050432.2354W8W7008604@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5466363900d28e473fa9d240ba15f2d5888fd045 commit 5466363900d28e473fa9d240ba15f2d5888fd045 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-04 23:58:17 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 04:29:20 +0000 bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable Sponsored by: Netflix --- sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c index b93110176d2f..33300ff77b2c 100644 --- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c +++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c @@ -2603,12 +2603,10 @@ bhnd_pmu_sdiod_drive_strength_init(struct bhnd_pmu_softc *sc, const sdiod_drive_str_t *str_tab; uint32_t str_mask; uint32_t str_shift; - u_int intr_val; str_tab = NULL; str_mask = 0; str_shift = 0; - intr_val = 0; switch (SDIOD_DRVSTR_KEY(sc->cid.chip_id, BHND_PMU_REV(sc))) { case SDIOD_DRVSTR_KEY(BHND_CHIPID_BCM4325, 1):
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204050432.2354W8W7008604>