diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-05-10 10:26:07 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-05-10 10:26:07 +0000 |
commit | 084d2075844d9398a31cde1554e2b4ee2ec6013e (patch) | |
tree | c5febf1a9ceae60c6671eddc655f12da14912c0e /sys/dev/acpica/acpi_perf.c | |
parent | b00039f739df90a955dd8407f504289b8df47388 (diff) |
Remove misc NULL checks after M_WAITOK allocations.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=299353
Diffstat (limited to 'sys/dev/acpica/acpi_perf.c')
-rw-r--r-- | sys/dev/acpica/acpi_perf.c | 2 |
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, |