The branch stable/12 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=40c0c3ef1f7d1b932e8c22e0a62d2336a4f898e9
commit 40c0c3ef1f7d1b932e8c22e0a62d2336a4f898e9 Author: Conrad Meyer <[email protected]> AuthorDate: 2020-01-28 03:27:06 +0000 Commit: Alexander Motin <[email protected]> CommitDate: 2021-03-04 15:09:18 +0000 amdtemp(4): Remove dead code that snuck in with r357190 I intended to remove this before committing, but neglected to. (cherry picked from commit cc3b01385bfd7e7f67866c4ac0a1b43370d7e6b7) --- sys/dev/amdtemp/amdtemp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index 8eb279c19cb8..38be7d9bd1b5 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -760,11 +760,6 @@ amdtemp_gettemp17h(device_t dev, amdsensor_t sensor) ("sensor %d: not valid", (int)sensor)); return (amdtemp_decode_fam10h_to_17h(sc->sc_offset, val, true)); default: -#if 0 - KASSERT(false, ("%s: invalid sensor %d", __func__, - (int)sensor)); - return (-1); -#endif __unreachable(); } } _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
