mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
amdtemp(4): Remove dead code that snuck in with r357190
I intended to remove this before committing, but neglected to.
This commit is contained in:
parent
bb302e707a
commit
cc3b01385b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357194
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue