aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2022-08-23 23:19:37 +0300
committerHans de Goede <[email protected]>2022-09-01 14:22:48 +0200
commit791ae8e8960efbf2e331eae7110db65b4f9f9083 (patch)
tree4ffe5bf48154fbeeb78f29efaf8d9a6c3292ede0 /lib/test_fortify/write_overflow-strlcpy-src.c
parent2f92fdd043d548a14287889742e147f8ed4ee03d (diff)
platform/mellanox: Remove redundant 'NULL' check
Remove 'NULL' check for 'data->hpdev.client' in error flow of mlxreg_lc_probe(). It cannot be 'NULL' at this point. Fixes: b4b830a34d80 ("platform/mellanox: mlxreg-lc: Fix error flow and extend verbosity") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Vadim Pasternak <[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 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions