diff options
author | Andrey Strachuk <[email protected]> | 2022-07-19 14:03:41 +0300 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-07-28 19:41:29 +0200 |
commit | 7842efa5e194122ba2d2795102c70db00906024e (patch) | |
tree | e15679adba37057053d1a86ae4e51492d651950a /scripts/gdb/linux/proc.py | |
parent | c55ae10230a719020d8ad5a221cbe347d5225157 (diff) |
platform/x86: sony-laptop: Remove useless comparisons in sony_pic_read_possible_resource()
Local variable 'p' is initialized by an address
of field of acpi_resource structure, so it does
not make sense to compare 'p' with NULL.
Local variable 'io' is initialized by an address
of field of acpi_resource structure, so it does
not make sense to compare 'io' with NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Andrey Strachuk <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions