summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2006-02-21 03:15:26 +0000
committernjl <njl@FreeBSD.org>2006-02-21 03:15:26 +0000
commit4a3bc69e9e8a583d48f5fed5273326c6a3b2ad4b (patch)
tree3f30efd21228bb8e0d229b7fe965bd4c61b2770c /sys/dev/acpica
parent31ce6d9821320aa5227e1c8b97ca9a4dcfd182f3 (diff)
downloadFreeBSD-src-4a3bc69e9e8a583d48f5fed5273326c6a3b2ad4b.zip
FreeBSD-src-4a3bc69e9e8a583d48f5fed5273326c6a3b2ad4b.tar.gz
Remove unused variable.
Coverity ID: 546 Found by: Coverity Prevent
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_throttle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_throttle.c b/sys/dev/acpica/acpi_throttle.c
index 518ae8d..a32efeb 100644
--- a/sys/dev/acpica/acpi_throttle.c
+++ b/sys/dev/acpica/acpi_throttle.c
@@ -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)
OpenPOWER on IntegriCloud