RDMA/mlx5: Remove unused num_alloc_xa_entries variable
authorTom Rix <trix@redhat.com>
Thu, 30 Mar 2023 15:36:07 +0000 (11:36 -0400)
committerLeon Romanovsky <leon@kernel.org>
Mon, 3 Apr 2023 12:46:47 +0000 (15:46 +0300)
commit081c27b3bcdbfad6fa3c16975e02e33073f1267d
treed27f482c55ae2316adce1adcf2c45f9aa43f95a8
parent070fc1c0e272a03c194bb1a54565d8eda23960a5
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: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230330153607.1838750-1-trix@redhat.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/devx.c