diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-05 16:45:48 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-08-18 14:08:57 +0200 |
commit | 62b4a482b943bc8173ac10a6c783e84d939b88bf (patch) | |
tree | cb90626273236cf84ae9bba6bc9624189defd866 /drivers/net/octeontx/smi.c | |
parent | 45eedb7b8097793242c542b68bc5d37b298808b7 (diff) |
net: octeontx: Remove unneeded test
In nicvf_cq_handler there is a test for !cqe_count which will return if
true so it is guaranteed that cqe_count will true after that point. This
makes the later test for cqe_count redundant so it can be removed.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/net/octeontx/smi.c')
0 files changed, 0 insertions, 0 deletions