K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T17:11:09.219793Z K 7 svn:log V 681 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 (cherry picked from commit 5ae3710aeb2a984344fbe36de71612fc1a3d1a71) Git Hash: b4383d654753590c206cccfa34d4caf1feda696f Git Author: dim@FreeBSD.org END