From nobody Sat Aug 06 01:54:01 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 4M059P3T2Hz4YRFP; Sat, 6 Aug 2022 01:54: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 4M059P2zt2z3TQT; Sat, 6 Aug 2022 01:54:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659750841; 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=/+1cROm99Gpra/wYMgq86U2XMYcB+jP8vjDrPjnf6fI=; b=CQEu13sz36seXdTbK5nn46WQDopi2AJP9WfMbopfoU02D6WoTyKHQWtEB3ZnzxajoEW9fZ fkhOXJOSL9eaV5WNTha6bko9BpNvqXTDZObPnoxR/a+01U0IxbPT5iy4LIZlRZSQ2iwqzH yX4LS1vE4YvLma3TSH1SWha23lmoxHYhWRqGAHOJkn7ehuSVDRANhQoaVCvmHnUWcZzdFG qOGLdryqlgPaIsDJ6RYQDbFlOhdpnFDCRapepqjfVUmXYlpwNSsRXvAhKHEgP/vyR9smCV LMEMXINA/yWYAEQtW2n3gRQIAqaAp+dRRH8+Q/IT+HPH0dOB/MCzc+0YMHc65Q== 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 4M059P22cvzFlZ; Sat, 6 Aug 2022 01:54:01 +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 2761s1A8091185; Sat, 6 Aug 2022 01:54:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2761s1Mu091184; Sat, 6 Aug 2022 01:54:01 GMT (envelope-from git) Date: Sat, 6 Aug 2022 01:54:01 GMT Message-Id: <202208060154.2761s1Mu091184@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 4f158a444ee7 - main - net80211: Remove tautological state display 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: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f158a444ee7365454cc3ea1547b1b5c323dae55 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659750841; 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=/+1cROm99Gpra/wYMgq86U2XMYcB+jP8vjDrPjnf6fI=; b=OLdKeex0/2gCco823Ok+8SKpPXn4Mt2rG3rl6Ubaw6TAgD5RQ2NGHNYUVFYofyN5lqoq34 B/yNMn+tdwKYDJLFh4D6bP54STmQX9lxqqMgiPboFuZMWeCyiPdA2pqnPdpjM/xmU8DlPt XZ/FeH7LnU2krwL1J3dPHx3QK/ycJE+OfrE9MyYW7R4tMoU8aBhtiD86gjXpLySXjQzekv 9DX4IOdxweKJIx8aipDy9NCBmYn84vPk8J6pVcivUchkjFOsRWwMho6csEm+hPRvC4jhk9 4dCFjakqnJB683WmE75FIwsozGvIj6npp9d+/aJjfHFvCZ3RbqxUShh9RAeHVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659750841; a=rsa-sha256; cv=none; b=MLlhMfhI6ZoIU2o5HXqC2lI6NUuvWDshVWw3j9p3hFNA7TOCMCahlTg5zrLQX0347r8ZJB iZaaEWATRIlJ4WLgH635BqJocirATePDC0T+Q6id8YcycOSo/kLRnWKnHjs4ZU1DluBJZm HcuAF+0J4LADMbQKi37fha4I5V66+Pmk5HC8v9UHrxK9f7h022gTdF4gLkL68m3YLgfLtV 6ZiTLXvgWaCf5PkHCzWWWvrQOX6NFMNXGnl/QJ6JLF6/BE3BW/v3ZOnVbVckaRhd7mg+Sg z8rTNiY0WtTlk+oP/cW6mqKwaThvFld8Lctcq2n+IMmpkBdeax6LEeOl5lPE9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=4f158a444ee7365454cc3ea1547b1b5c323dae55 commit 4f158a444ee7365454cc3ea1547b1b5c323dae55 Author: Cy Schubert AuthorDate: 2022-07-19 04:10:40 +0000 Commit: Cy Schubert CommitDate: 2022-08-06 01:53:38 +0000 net80211: Remove tautological state display When printing the current state name and the old state numeric value, both are always the same. Remove the redundant ostate. It is always the same as iv_state. Reviewed by: bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35849 --- sys/net80211/ieee80211_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c index 50284da6f7d1..69d25d5b1ba2 100644 --- a/sys/net80211/ieee80211_output.c +++ b/sys/net80211/ieee80211_output.c @@ -3426,9 +3426,9 @@ ieee80211_tx_mgt_cb(struct ieee80211_node *ni, void *arg, int status) */ if (vap->iv_state == ostate) { IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG, - "ni %p mode %s state %s ostate %d arg %p status %d\n", ni, + "ni %p mode %s state %s arg %p status %d\n", ni, ieee80211_opmode_name[vap->iv_opmode], - ieee80211_state_name[vap->iv_state], ostate, arg, status); + ieee80211_state_name[vap->iv_state], arg, status); callout_reset(&vap->iv_mgtsend, status == 0 ? IEEE80211_TRANS_WAIT*hz : 0,