diff options
author | 2013-11-05 21:25:32 +0100 | |
---|---|---|
committer | 2013-11-07 14:10:41 +0100 | |
commit | 9968e459f1378a1c00301472cfe672497fe001d5 (patch) | |
tree | eaf1f2cc63029b4f2abfb2a940f62726558926dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: Fix spelling mistake in error messages (diff) | |
download | linux-dev-9968e459f1378a1c00301472cfe672497fe001d5.tar.xz linux-dev-9968e459f1378a1c00301472cfe672497fe001d5.zip |
ACPI / event: remove unneeded NULL pointer check
nla_data() cannot return NULL as it simply adds NLA_HDRLEN to the
passed pointer. The NULL pointer check is therefore superfluous.
Remove it.
Found by smatch:
drivers/acpi/event.c:130 acpi_bus_generate_netlink_event() warn: can
'event' even be NULL?
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions