Remove unused variable.

Coverity ID:	546
Found by:	Coverity Prevent
This commit is contained in:
Nate Lawson 2006-02-21 03:15:26 +00:00
parent d5b12d2678
commit 6dd47e5b2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155868

View file

@ -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)