git: cb26d2021b14 - stable/13 - bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:21 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb26d2021b14f6f5f8bec892b0b10dde9205b9a7
commit cb26d2021b14f6f5f8bec892b0b10dde9205b9a7
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:29 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-02 04:25:51 +0000
bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable
Sponsored by: Netflix
(cherry picked from commit 5466363900d28e473fa9d240ba15f2d5888fd045)
---
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 bb3f03b12d77..85f0495f321e 100644
--- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
+++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c
@@ -2604,12 +2604,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):