From 223eee05e497cbe73cd07ebda5d98b14d8197e1c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 31 Oct 2006 16:13:38 +0000 Subject: [PATCH] Remove unused softc pointer variable from the probe routine. CID: 1560 Found by: Coverity Prevent (tm) --- sys/dev/acpi_support/acpi_aiboost.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/acpi_support/acpi_aiboost.c b/sys/dev/acpi_support/acpi_aiboost.c index 7eb4efbb8a3f..2aa68d1a1b17 100644 --- a/sys/dev/acpi_support/acpi_aiboost.c +++ b/sys/dev/acpi_support/acpi_aiboost.c @@ -244,11 +244,8 @@ static int acpi_aiboost_fan_sysctl(SYSCTL_HANDLER_ARGS) static int acpi_aiboost_probe(device_t dev) { - struct acpi_aiboost_softc *sc; int ret = ENXIO; - sc = device_get_softc(dev); - if (ACPI_ID_PROBE(device_get_parent(dev), dev, abs_id)) { device_set_desc(dev, "ASUStek AIBOOSTER"); ret = 0;