freebsd-nq/sys/dev/mthca
Dimitry Andric 5ae3710aeb Fix unused variable warning in mlx5_ib_devx.c
With clang 15, the following -Werror warning is produced:

    sys/dev/mthca/mthca_cmd.c:662:23: error: variable 'tc' set but not used [-Werror,-Wunused-but-set-variable]
            int ts __unused = 0, tc = 0;
                                 ^

The 'ts' and 'tc' variables are eventually used only in mthca_dbg()
macros, if CONFIG_INFINIBAND_MTHCA_DEBUG is defined. Ensure 'ts' and
'tc' are only declared and used when CONFIG_INFINIBAND_MTHCA_DEBUG is
defined.

MFC after:	3 days
2022-07-25 00:40:13 +02:00
..
mthca_allocator.c
mthca_av.c
mthca_catas.c
mthca_cmd.c Fix unused variable warning in mlx5_ib_devx.c 2022-07-25 00:40:13 +02:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mthca_doorbell.h
mthca_eq.c
mthca_mad.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mthca_main.c
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mthca_provider.h
mthca_qp.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mthca_reset.c
mthca_srq.c ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
mthca_uar.c
mthca_user.h
mthca_wqe.h