diff options
author | Vadim Pasternak <[email protected]> | 2022-08-23 23:19:37 +0300 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-09-01 14:20:50 +0200 |
commit | 059209fd902f5ad4bec8124931c258e62fddf74f (patch) | |
tree | 32781983adf5d38982a88757f1364b24f6bec2f3 /net/lapb/lapb_timer.c | |
parent | 1c8ee06b637f0b0146bbcda776d131e4822432c3 (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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions