aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_perf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_perf.c b/sys/dev/acpica/acpi_perf.c
index d95cc79ab90b..df0fa9a29b6e 100644
--- a/sys/dev/acpica/acpi_perf.c
+++ b/sys/dev/acpica/acpi_perf.c
@@ -267,8 +267,6 @@ acpi_perf_evaluate(device_t dev)
sc->px_states = malloc(sc->px_count * sizeof(struct acpi_px),
M_ACPIPERF, M_WAITOK | M_ZERO);
- if (sc->px_states == NULL)
- goto out;
/*
* Each state is a package of {CoreFreq, Power, TransitionLatency,