aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2013-11-05 21:25:32 +0100
committerRafael J. Wysocki <[email protected]>2013-11-07 14:10:41 +0100
commit9968e459f1378a1c00301472cfe672497fe001d5 (patch)
treeeaf1f2cc63029b4f2abfb2a940f62726558926dc /lib/test-string_helpers.c
parente7e92ec93f218085e37ded8338f717ffd49eed1d (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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions