Skip to content
Commit 081c27b3 authored by Tom Rix's avatar Tom Rix Committed by Leon Romanovsky
Browse files

RDMA/mlx5: Remove unused num_alloc_xa_entries variable



clang with W=1 reports
drivers/infiniband/hw/mlx5/devx.c:1996:6: error: variable
  'num_alloc_xa_entries' set but not used [-Werror,-Wunused-but-set-variable]
        int num_alloc_xa_entries = 0;
            ^
This variable is not used so remove it.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230330153607.1838750-1-trix@redhat.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 070fc1c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment