aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorVladislav Efanov <[email protected]>2023-05-17 15:50:25 +0300
committerGreg Kroah-Hartman <[email protected]>2023-05-31 19:03:39 +0100
commit6bea9ea6bb21ccee2aad0aa2a845499e0aa2f7f9 (patch)
tree1c6a24ece773cb3dbf35ee5ed6d2b56706d40905 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent54aa5b6044f89af046bcb7a9d0ca6408c0ebdd1f (diff)
isa: Remove unnecessary checks
The isa_dev->dev.platform_data is initialized with incoming parameter isa_driver. After it isa_dev->dev.platform_data is checked for NULL, but incoming parameter isa_driver is not NULL since it is dereferenced many times before this check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Vladislav Efanov <[email protected]> Acked-by: William Breathitt Gray <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions