Remove unnecessary assignment.

Coverity ID:	553
Found by:	Coverity Prevent
This commit is contained in:
jkim 2006-04-21 19:06:29 +00:00
parent dbaf29feb1
commit e78dcbbd04

View File

@ -247,7 +247,7 @@ acpi_pwr_register_consumer(ACPI_HANDLE consumer)
ACPI_SERIAL_ASSERT(powerres);
/* Check to see whether we know about this consumer already */
if ((pc = acpi_pwr_find_consumer(consumer)) != NULL)
if (acpi_pwr_find_consumer(consumer) != NULL)
return_ACPI_STATUS (AE_OK);
/* Allocate a new power consumer */