mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
RDMA/bnxt_re: Remove unnecessary checks in kernel CQ creation path
bnxt_re_create_cq() is a kernel verb, which means udata will always be NULL and attr->cqe is valid. Remove the code handling this unreachable case. Acked-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
This commit is contained in:
parent
2b2f078236
commit
345f842771
1 changed files with 2 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue