Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp91619lqh; Mon, 6 May 2024 12:14:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdzPsFBm8a8xdJfi7WhWZ01/p6OjIWcUNpV4iFJnWlgvDnbDH1XtRuJLuJKduNKS9yalevMB2aBDqVyN3yE+CbnpPr/dTecVz2D2TzXA== X-Google-Smtp-Source: AGHT+IHRdM9ScnznDwyp4gA6teSqdd8JTiOptt5HFD6jLtnlvl12ijFYdQ3Zzvcfobt9OY5KmRBk X-Received: by 2002:ad4:4ee1:0:b0:6a0:64ee:e40d with SMTP id dv1-20020ad44ee1000000b006a064eee40dmr1048616qvb.22.1715022872827; Mon, 06 May 2024 12:14:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715022872; cv=pass; d=google.com; s=arc-20160816; b=CpXu+e9dkBHob+7Zvqbp7d7l9TvYr5PhIkraNJ9cTNapWuZlGA2Lqe17vm7JbGNXG+ w7UBCHcpbg+IeWSaVQlsFm42esG4s5qYJD3R/KJLVndp9xaL2L0SNQDhQHf1w6ZYZWtB KULkuARiWkF5ieLmhI/j7fWTj6a7QnDUMrs4zhPUXCGefHFqCyOTJy58fiky2Vdsa1pQ FIVKXsfZeI+tbuhpqy5cQzQnpPMrUuz1Tcz6IMZYthWUWeRUuVB9mgFz1DDuZvj1EP5O 8w+u6/K/NmUyMOD09qZvbxy7x0wJ/JoolDJSIMCZgfX0l/JZROZE3nkNexGbJor8JY1G UGGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3kDuyyS0yHbZFIS8DLXAhpXzBAgaWKhjGYKfn2VQc3E=; fh=0ZKV22Mpi0Z+/zRlCC9GRUAKl0wLMxmYgR1nXO1NAEs=; b=bOa9BVMo1XttvUlLVo4p+QcFP2fiFsc0eC2kWVe0JTfuFflj6GAXhTY/reZ2BDtrvt V6fdAWVmJJPalG/cQs55Y2pnApFr4npyQnTWHoy5o+DsSqaNYtpyvCLCpoUl57zd0UF6 3Eaq3kNIqlAzkhhH4t0revXiO/WvvQP9apZo/WXql8nCjUGWKrJzSxBz+mrmKsadompb 9hL5lX5dOEBm8CIecUkhuWkWdhPiyt+LdOf6SE/eBm8QOUPStTUPdz2ZtpswLZ5Q2zar cnZM8lnwDc1QxWPvaOJI5SzRYgPLnb+e/Fy0/NlLJHpJCJmjUqH+403q51F0JjEmeIK8 QmHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=NkE3ZgWq; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t3-20020ad45bc3000000b0069b4f599635si9719785qvt.231.2024.05.06.12.14.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:14:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=NkE3ZgWq; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8CF291C216D3 for ; Mon, 6 May 2024 19:14:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4712F6BFBC; Mon, 6 May 2024 19:14:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="NkE3ZgWq" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BEDFE41C73 for ; Mon, 6 May 2024 19:14:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022868; cv=none; b=RireZBMNX62D/jVid5NAofmNPqMzcYrnj7wC6XG/G/3JxCNo1TC50Skyq1cLCJ72IIVMqQchlFpfTt5QMplTrskxaBWJjWxLdLv3HZrmJJHmi3zlkSjhSjgJ9M6BU8byd4RkzOBrJzaBuwEuzgzJRPCxQ7r7iYS1PqKMegdR8ak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022868; c=relaxed/simple; bh=2e9UIvejBJHivrya8U5nqzY1Rh3Yo0IgBGTz7CitXlo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S3p10UUOTFlxTNUilgy2K5slsTrM/MUdDnVtvHrYPABP8hcYwIipa8uxaMtMUj4DaJGHyTjslPeuqWP2Klhg7cLq+vQ27HHuQv4qLPE889pfH+cgfY2GAGtkxxNCurNqTIQwpqJrGLbR135QQ1kPeCmsGvdAntRQhwqnfGqpnYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=NkE3ZgWq; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=3kDuyyS0yHbZFIS8DLXAhpXzBAgaWKhjGYKfn2VQc3E=; t=1715022866; x=1716232466; b=NkE3ZgWqJ49eTYBCVUNwsMvv5O84lSjMtmqd80MLEsNyXlmH4fhNQ6CjkEt7mYSLs69ErPBRfOJ Ixnj+yeMSVW9gG43V5FsM+m1Z7pGQiwyNgjip3FJOPEG0NKCtLG0nOoAGxwSm+pULIst3+SPtSwYB ax6gWfUvGItujPTIQT1HKlMUv6ZxCID7q6/HUEtUEm7p5Dp19ZaDOGc7p6LrZClx6OzZJgiHbqaiH Uj2nGwq0WIpy81PzTC9yebEn/4NtK/ZY+mCFu0utJzX9kGbTcswhtinGSYlqS80J9OIVEaIfEE/0I wNv3xCUnfAqc63VgmYSbmavxLKJCod6D/qbA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1s43n6-00000008A2V-02i1; Mon, 06 May 2024 21:14:24 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg , Miriam Rachel Korenblit Subject: [PATCH] wifi: mac80211: remove outdated comments Date: Mon, 6 May 2024 21:14:22 +0200 Message-ID: <20240506211422.68bc10efbd8a.If80f43f4c8b9db1f5266f70d93a805f8c7463fe2@changeid> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Johannes Berg These comments are no longer correct, it's a wiphy work now so it will go away immediately when canceled. Reviewed-by: Miriam Rachel Korenblit Signed-off-by: Johannes Berg --- net/mac80211/cfg.c | 4 ---- net/mac80211/util.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 76c26de5da13..bbb07ba8793b 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -3482,10 +3482,6 @@ static void ieee80211_end_cac(struct wiphy *wiphy, lockdep_assert_wiphy(local->hw.wiphy); list_for_each_entry(sdata, &local->interfaces, list) { - /* it might be waiting for the local->mtx, but then - * by the time it gets it, sdata->wdev.cac_started - * will no longer be true - */ wiphy_delayed_work_cancel(wiphy, &sdata->dfs_cac_timer_work); diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 30d3efedaa8e..9d4e1ab6d843 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -3456,10 +3456,6 @@ void ieee80211_dfs_cac_cancel(struct ieee80211_local *local) lockdep_assert_wiphy(local->hw.wiphy); list_for_each_entry(sdata, &local->interfaces, list) { - /* it might be waiting for the local->mtx, but then - * by the time it gets it, sdata->wdev.cac_started - * will no longer be true - */ wiphy_delayed_work_cancel(local->hw.wiphy, &sdata->dfs_cac_timer_work); -- 2.44.0