Silence PVS-Studio warning (V595).
This commit is contained in:
parent
8444599e1e
commit
2f977ab449
@ -434,9 +434,7 @@ acpi_ec_probe(device_t dev)
|
||||
params->gpe_bit, (params->glk) ? ", GLK" : "",
|
||||
ecdt ? ", ECDT" : "");
|
||||
device_set_desc_copy(dev, desc);
|
||||
}
|
||||
|
||||
if (ret > 0 && params)
|
||||
} else
|
||||
free(params, M_TEMP);
|
||||
if (buf.Pointer)
|
||||
AcpiOsFree(buf.Pointer);
|
||||
|
Loading…
Reference in New Issue
Block a user