From cc3b01385bfd7e7f67866c4ac0a1b43370d7e6b7 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Tue, 28 Jan 2020 03:27:06 +0000 Subject: [PATCH] amdtemp(4): Remove dead code that snuck in with r357190 I intended to remove this before committing, but neglected to. --- 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(); } }