Remove unused variable.
Coverity ID: 546 Found by: Coverity Prevent
This commit is contained in:
parent
d5b12d2678
commit
6dd47e5b2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155868
@ -345,10 +345,8 @@ acpi_throttle_quirks(struct acpi_throttle_softc *sc)
|
||||
static int
|
||||
acpi_thr_settings(device_t dev, struct cf_setting *sets, int *count)
|
||||
{
|
||||
struct acpi_throttle_softc *sc;
|
||||
int i, speed;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
if (sets == NULL || count == NULL)
|
||||
return (EINVAL);
|
||||
if (*count < CPU_MAX_SPEED)
|
||||
|
Loading…
Reference in New Issue
Block a user