Remove unused softc pointer variable from the probe routine.

CID:		1560
Found by:	Coverity Prevent (tm)
This commit is contained in:
John Baldwin 2006-10-31 16:13:38 +00:00
parent 7c007dd329
commit 223eee05e4

View File

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