Commit c57c7649 authored by Advait Dhamorikar's avatar Advait Dhamorikar Committed by Leon Romanovsky
Browse files

RDMA/erdma: Fix opcode conditional check



Fix conditional if else check by checking with wr->opcode.
The indicated dead code may have performed some action; that
action will never occur as op is pre-assigned a different value.

Fixes: 999a0a2e ("RDMA/erdma: Support UD QPs and UD WRs")
Signed-off-by: default avatarAdvait Dhamorikar <advaitdhamorikar@gmail.com>
Link: https://patch.msgid.link/20241219043939.10344-1-advaitdhamorikar@gmail.com


Reviewed-by: default avatarCheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent a3cbf68c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment