The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=71a2364fa2966c32969a568eb16a10480278d96a

commit 71a2364fa2966c32969a568eb16a10480278d96a
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-08 00:01:26 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-04-08 00:01:26 +0000

    mthca: Mark a variable used only in debug traces as unused.
---
 sys/dev/mthca/mthca_cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/mthca/mthca_cmd.c b/sys/dev/mthca/mthca_cmd.c
index b4c0dc2f6f1d..8dcce01c061a 100644
--- a/sys/dev/mthca/mthca_cmd.c
+++ b/sys/dev/mthca/mthca_cmd.c
@@ -659,7 +659,7 @@ static int mthca_map_cmd(struct mthca_dev *dev, u16 op, 
struct mthca_icm *icm,
        int nent = 0;
        int i;
        int err = 0;
-       int ts = 0, tc = 0;
+       int ts __unused = 0, tc = 0;
 
        mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL);
        if (IS_ERR(mailbox))

Reply via email to