diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-02-28 20:31:49 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 22:47:35 (GMT) |
commit | bea3c377c286f4f63f67f2e061c1d8851af76b7e (patch) | |
tree | b0d63c774230f3e71a2ff80f98fd186059f7e3c9 /drivers/acpi/tables.c | |
parent | b2ca5dae31d61c4610ea3228f43f7cc66312897c (diff) | |
download | linux-bea3c377c286f4f63f67f2e061c1d8851af76b7e.tar.xz |
ACPI / util: remove redundant check if element is NULL
element is &package->package.elements[i] which can never be NULL
so the check to see if it is NULL is redundant and can be removed.
Detected with static analysis by CoverityScan
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/tables.c')
0 files changed, 0 insertions, 0 deletions