From nobody Mon Apr 18 19:30:00 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 D4A6F11DD793; Mon, 18 Apr 2022 19:30:01 +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 4Khxpd2jZWz4bTR; Mon, 18 Apr 2022 19:30:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650310201; 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=PtABezKQFRNaJLfyE1YsndivqY/M99I5f9AUPlRaJvc=; b=coooGyVEMGzv76NifvDJEGpKwTvVppnZLPgzmQnjj77kg4zSCHC2gB0pw0SvqKghqWtpk1 M7bhKG1fwKQpgSu78zJvXxKHuowodGw+LL3z1RHhFKhIHKQQ08xETZJecscO48NPOfdA5J 0j+i5woHG3yQNtz5+5PH/b5A1VpwMK0MKQy25MbcMf1VRF9bJsWYgOGSoQ9bWNWByJYW6v oVAL5CsP2GqrmBJgYUlq/nT0SZa8o5DTx2wK86GsX2MgrKh77P4BcD4F+UWGWK/mbgpNST 3Z/PoxMi2IJCbfPDZx+vSsjhNMfnBxDbVd8crQwJ4CAtwWz8jE6yPvly0iaipg== 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 BBB3D18976; Mon, 18 Apr 2022 19:30:00 +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 23IJU0hL017420; Mon, 18 Apr 2022 19:30:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IJU0Fj017409; Mon, 18 Apr 2022 19:30:00 GMT (envelope-from git) Date: Mon, 18 Apr 2022 19:30:00 GMT Message-Id: <202204181930.23IJU0Fj017409@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: e2c5ab094b11 - main - linuxkpi_ieee80211_tx_status: Mark ridx 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: e2c5ab094b1107fa60b064760c0c7e085899ea8b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650310201; 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=PtABezKQFRNaJLfyE1YsndivqY/M99I5f9AUPlRaJvc=; b=xkM3M/rtykmx7/2kTr4+O5eiZZk8DGfwD5JM4lnCmlpyVHQb2yZI0BWmpFGlhiEQO5Ob9T xgm77r963p8Fm0eE4m9iHaZNnpHYGJEDxs6ieA7uOpEVH6dwaKfab2Ryu/m5/p/h4sP+JJ X7Q94fUZ0LshN+geST1lYtM+jfItIUS78vP6FxBe+RRHGQEeWoCaEWuW4OvWoGxMQAGbpz 3o8CNNxcRQSJ9vPyWdlREGPuYsEI3ygH76i7zPtbIwSGx3US0XQbPeVSLOUld2+KvNYq7q pGMzDQ4DJnEWHtdMhMjTnUYb5vzyiuydUWbyqkCVvBQTJYeAchJggSvrVGFOpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650310201; a=rsa-sha256; cv=none; b=VsSaLoX2qB1vCwudh9WFRxRYCSWbzVuOBQWn7Yv+ZJ+8LWn0HCbHENXXaPIU2V1lYGHOr1 S1BNEdA/M0rtN2LLDX9vqYozf0rW3xIQqHvJnykEM8+Dzrpu2Q299mGQqGhoDJJfRL2p0H Mj8oOmocso3IWGzo/Ph5N0dbomIJF7bNadjVnXhJFtuyEFZdDEKNgWfYwPkB8EwO89hYGh R0bAsJoj71i8eh9dXk8BxyjXTbbdTrlgX4or4qZeAfTb1BCIMNuOpvSNUnwhC6nDyQI0cX M2qsgVfMZXjKORUQNwE6mV8tYIGA9tarROnY21RR6d8NuasGNkKQDePD27uA9A== 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=e2c5ab094b1107fa60b064760c0c7e085899ea8b commit e2c5ab094b1107fa60b064760c0c7e085899ea8b Author: John Baldwin AuthorDate: 2022-04-18 19:25:08 +0000 Commit: John Baldwin CommitDate: 2022-04-18 19:29:47 +0000 linuxkpi_ieee80211_tx_status: Mark ridx as unused. __diagused only squelches warnings for variables used under INVARIANTS, it does not apply to custom debug knobs like LINUXKPI_DEBUG_80211. Use __unused instead. --- sys/compat/linuxkpi/common/src/linux_80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index b80d8b62087b..d2608792f8c4 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -4209,7 +4209,7 @@ linuxkpi_ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) } if (ni != NULL) { - int ridx __diagused; + int ridx __unused; #ifdef LINUXKPI_DEBUG_80211 int old_rate;