From nobody Fri Apr 08 00:03:14 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9C79B1A86EC3; Fri, 8 Apr 2022 00:03:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJNy3vCXz4kZS; Fri, 8 Apr 2022 00:03:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YQl1PHBTKD+hE3Z/YOZHYoRHNxXEMceYqyUPrcGsGGQ=; b=vpdFT2JAMmjyQUFQaYnbmfrxYPSKvzOrLNgQqxGpO0C8U3yQBvFdbAskYjA1BiVbAU3uCi 5Ew/VTU1ukEjFsyAk/bHWcJNr/aFT0nmbmTyCFEHtWU1TtOhjOfVrRQsXBuGRAFnBEp7D5 Hmvyfh/XZxaf5+XfOagSSlvytNmWkXAcvro2SD5XgmbPNVePSfH28yVOjZgETNlFNlXaYS q6BHHprYulevSVK2n/euRhRjIe+tOuBqGVSdUAgpkRyAeX4TvUqsK6WW4bioau9kn1uRt4 jaL1RJ+vhiPmd9DN3eqAbgFOechQ8SEThJfWTZ4xMFe4BpRMJS7PVhYBe5wymg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6645B1A496; Fri, 8 Apr 2022 00:03:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23803EiZ086092; Fri, 8 Apr 2022 00:03:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803EuG086091; Fri, 8 Apr 2022 00:03:14 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:14 GMT Message-Id: <202204080003.23803EuG086091@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 71a2364fa296 - main - mthca: Mark a variable used only in debug traces as unused. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 71a2364fa2966c32969a568eb16a10480278d96a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YQl1PHBTKD+hE3Z/YOZHYoRHNxXEMceYqyUPrcGsGGQ=; b=G6RUFvtY38SIShYBtC+ifjS9FtBKuQ/DH5FGFxAxScszoO0lYBwM3KhPACvKGVnNOZoAiA QTZmDONsXDTOu/oD8if6jSdNoU9iOmM/drIpUdEgK6kq8YeBomxU2pXSqAsRM+6D7Pb5KY /tXBcwHGkKiyl3WVjFkYDaO3yCeSgpiiKe6QrXjX2ypPB8A2rwDrkdz3bG5UQWD9IKN2Nc FT3Ac5aGSuZ3wzkk2y/gkK5C6GlJ3TiYfZm9jYfqTTnE+6TQOOhwKZEaoOrBtfWl6eCosW VSPQfocNJlBnq8z2OlLgCmRBytT4SsbGWsd5bEn5X+NdIFkgwG5PYaoP41MVuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376194; a=rsa-sha256; cv=none; b=c3VLRnrL7/qY1zy8kEYo4gucklV/clYSSD/m4QfNT5M4JgRFsKREtXurXk5pkTXWbpM6jX gmQLPg2xwhQXviDJw4n1qPZM4WL4gjJSMxTjkYzxsnadPkLY9Pgv+kbzZgHU7RdctijsBk rx47mhLwVnQErLSlpZhgJQfbivwNYGmpjLo7zXp8lrO9sI4yi6ndxNcYkfBv8JbtWfCNFY AaxhUmhFyJX6+y1ACcO8gl0ZOnsaKS1lG7ipCFZDip0EUgTDhI9BhEXeNKYYG0FKFrTaeb X57Perk7stIlaIdJWKPhDRdnShqZSC3Rm68XXHGqn3WWXVWkCDOpya8c/yTfLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=71a2364fa2966c32969a568eb16a10480278d96a commit 71a2364fa2966c32969a568eb16a10480278d96a Author: John Baldwin AuthorDate: 2022-04-08 00:01:26 +0000 Commit: John Baldwin 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))