diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-11-05 21:25:32 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 14:10:41 +0100 |
commit | 9968e459f1378a1c00301472cfe672497fe001d5 (patch) | |
tree | eaf1f2cc63029b4f2abfb2a940f62726558926dc /drivers/acpi/osl.c | |
parent | e7e92ec93f218085e37ded8338f717ffd49eed1d (diff) |
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 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions