Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp979308lqd; Thu, 25 Apr 2024 02:26:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsiGh1oCphN6EJXmyeoZ8PLDTsTu6df1q1y2ENO7w/6ngl91OfROFYEiowIdJrfCw3kBAFUHoHkV+C+3T5sLgseap+RyF3SX/lOqmqng== X-Google-Smtp-Source: AGHT+IFmyVq0YlGqZnKa+e84SGmuN04AaSh9MEu6c6GUAxVQhKV9tZ2frv6J7TrMnyxIIC0R8PcK X-Received: by 2002:ae9:e202:0:b0:790:5fb6:1c1c with SMTP id c2-20020ae9e202000000b007905fb61c1cmr5167554qkc.32.1714037188459; Thu, 25 Apr 2024 02:26:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714037188; cv=pass; d=google.com; s=arc-20160816; b=lQiTbgN9YKgGcvuq2QbqYj97BG6z5V7jEjHE+ko/VpmKLl0StF8E18a07kkBtdNiaW Sg05ovXxliu2UZwIBvxnPssgltzPjJmJKfmqV2YxmwZulkkVZE/WSF7KBBPqHqId/9rC /56TpD4Bmi0gd7jU+CIu+x6HqbdQqkwGR9Kb+xjOS8zCzGfLwpMijUnFxwJfKYvyYZ/e gKRwuBKuIWfPpqm5o8c3Wo7bcWwb9pO+V6dbuWTWt/xvrz5+4IeVhcJFN2p4E7b6nvRy PrEnSpzqssb7GWOLeR3/usWE9apUoRfS0d3sTnLAsJFR/0VSL0mXAEaU+YVzs3VF3Egl HrBw== 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=0dK7ZlaT22HaVkIUWpHsgyaYXot/beEkT5cEKEbeojE=; fh=yTqOnUjKV4L9RNJWPT0iOKKPoDXEMovlkqaRVKqvJfs=; b=y9S3Dpo9t1K2Qswd8Pk6NL9fPFq/25EOaI1LxMLEr3znyG8F1oHNHHo6dW72jEeb/E ZnixrrBhVE5XLX2akMQZOJLiUEY6Tn13y+aoyWE2p57QLzTKoHXf0Xr7eE/8DExpwg46 J2hiGklN6eQ40bC4NLZxhI+9O0iO7iYhqkwVWl/JDLoFSE8kElGvicyRX+GMwTshNUjD WKjL0XCyO282DkXMHsPgWZrzTWMaOWDLfz/D2nOd2q5u1s/34n7L70CHhtROsPwcS9w+ C+vhWz3OXRmsBIQpUcCB1bh7PpeKUqQTFkhrtlrD4yR72ytEUrgguh8Md2kpSMivzebQ yAMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=SQCW1HKM; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-wireless+bounces-6826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b12-20020a05620a04ec00b007907b74d182si7606973qkh.579.2024.04.25.02.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 02:26:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=SQCW1HKM; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-wireless+bounces-6826-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr 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 191931C24062 for ; Thu, 25 Apr 2024 09:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C3E484FDE; Thu, 25 Apr 2024 09:22:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="SQCW1HKM" X-Original-To: linux-wireless@vger.kernel.org Received: from msa.smtpout.orange.fr (out-69.smtpout.orange.fr [193.252.22.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40C8A12C463; Thu, 25 Apr 2024 09:22:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.22.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714036940; cv=none; b=EsUNzV2Lgbqbbb6iTblvpl4lEB76nihqxMpC9KAreIaaeiPzQ6taeZfehpuiNXkYoMCMz/VDJYrTjJjdKFud75jy8ffy+7QbcKj7Ns9Xgls4QXjv/jTU3ZaPYCVDE3VkO2a7gZ6Eir1X0Q50tSSdbHO32GTY27MwXIk6lDqpI/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714036940; c=relaxed/simple; bh=RYYr6S3bqZ2+QnlX4wSrGo/4TtP3354taVowvs3jNII=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UXCCymyVtN+oKJSaA9La/8H2Csi6N+Dz6Cf6RP/b9HG49l3aLPJRNs36jhIegvMuVkF1Cr37YWjMzVdbn1suafCWvj2nXq/4tZF8G2KpfGJ7u++QXTWs/E+DUzgWVZ3N9Rledc5tN2/sPkZrkouK+SjkE4if8Zp0mnhv7OHuBZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=SQCW1HKM; arc=none smtp.client-ip=193.252.22.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from localhost.localdomain ([86.243.17.157]) by smtp.orange.fr with ESMTPA id zvJ0rM6x8hCCizvJ0ro486; Thu, 25 Apr 2024 11:22:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1714036935; bh=0dK7ZlaT22HaVkIUWpHsgyaYXot/beEkT5cEKEbeojE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=SQCW1HKMP2RBYzYCQ9nkbddK3Vl/LthtQ7dKCnfdETna+aKi4FfaaUqhjWm6ayYGY NyQ4QSZgttrMpJaFgSiNKL/EO/xWEOt/dxiqX1HjBzOp9mgMzBQRTx5LAOUTWNGDfp 9hRD7JheJKT0+eIUYLv715wKaiAbiHbJO3bL8Uzvekczvv1mCZPRYH73c+yZg8ry+c dHtgpWcG/bksAZVi5Mhx7jcle7xYOxdY4O74umVekR1zqmvvIsjqxw0fPQ1kuM9FvG FVgrGw8kwGuqIw29mw9A5Zwes+wur4j6leRnzax6zFgSo2riqMmOpz6862PPva/e1K YJLdTPqn8H7rQ== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Thu, 25 Apr 2024 11:22:15 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Arend van Spriel , Kalle Valo Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com Subject: [PATCH] wifi: brcmsmac: ampdu: remove unused cb_del_ampdu_pars struct Date: Thu, 25 Apr 2024 11:22:03 +0200 Message-ID: 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 struct cb_del_ampdu_pars was added in the initial commit 5b435de0d7868 ("net: wireless: add brcm80211 drivers") and its only usage was removed in commit e041f65d5f00 ("brcmsmac: Remove internal tx queue"). Remove the structure definition now. This saves a few lines of code. Signed-off-by: Christophe JAILLET --- Compile tested only --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c index e859075db716..c3376f887114 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c @@ -143,12 +143,6 @@ struct ampdu_info { struct brcms_fifo_info fifo_tb[NUM_FFPLD_FIFO]; }; -/* used for flushing ampdu packets */ -struct cb_del_ampdu_pars { - struct ieee80211_sta *sta; - u16 tid; -}; - static void brcms_c_scb_ampdu_update_max_txlen(struct ampdu_info *ampdu, u8 dur) { u32 rate, mcs; -- 2.44.0