Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4700616rwo; Tue, 25 Jul 2023 09:39:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9nB8+fTsc6eTXX4KvNxvGDx9FeWzbRIKEOGg8Wn8ggTNBLVRJbgCj2ysli+2uMbvA0gd6 X-Received: by 2002:a17:907:a06b:b0:993:22a2:8158 with SMTP id ia11-20020a170907a06b00b0099322a28158mr13669827ejc.61.1690303179233; Tue, 25 Jul 2023 09:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690303179; cv=none; d=google.com; s=arc-20160816; b=yMIBt951k+5CbWG+eHsRs6iwnyv1fvDjojFt+5DKqdebzmKymdCiyNdNC+qzHSiYj8 96SQKasTRN3Pf1UmgaFjMGQodBaMI4Iql+OGt7DbAEmyiLxh4SDdBmOkoYxz+9Bn74BA N3ojLfzjY6Rj96/Kry5DwdtbkL4VBBfb4kfGueSCQsl0JYkoovhpnUnHhanlVlSHOQGv 3LeWd14hfYMKNbsQFsC95sceXhWGgXNmBC9rtrr5h5alDOlpX96OXp7zR5ZIO8L4MGs1 MqoA6fqVAHUMwQVppu5OMeVggMzS4snDQ6A4WPjdLgMeImGouXyjOEDyvHxuvvkf+7+D V5MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6wNDG5qLNi2ci8yLIH3z1ZhsmzAP7ARa4+4mwYTRpuo=; fh=PuMtaD2X/8LLgqoSb2VesaHe+nga1UCfyNwQpNcxfkU=; b=vaaPkMvaVk95yqbfB8+BE4sQsYTpe3QxZ93P85X6pd2JaIX+xs7/gygnTUmxvpReK0 tbzz6XdOq5UydtSnCvyEnBfyaYTQ9+J9EOEX57K7n6eRxogQfqRjoAsg6XnLv+bi1Qyq O2za19aaS4YnyIxasoUrtR99iNL/5fhqYtIwEV+koSLe4Es0qain58KuCtrOULuhf1D2 tKTwz4UYXaHm6DETUp9aTE6ILKmFFDrc+LgCV8vyU0R5IA95kjwwYslegT+YEwKjYbV/ Q8Cy2+faRz5twGfZwtoWmKQRb+EpY+LpNzSV+SCvyy/SQXIzf2NLalNi80bjEil7n5nX uC1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b="clI/QKP5"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a170906061000b0099b49300b6asi8546921ejb.158.2023.07.25.09.39.24; Tue, 25 Jul 2023 09:39:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b="clI/QKP5"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230046AbjGYQYM (ORCPT + 58 others); Tue, 25 Jul 2023 12:24:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbjGYQYL (ORCPT ); Tue, 25 Jul 2023 12:24:11 -0400 Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 337E910CC for ; Tue, 25 Jul 2023 09:24:05 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:1380:0:640:6985:0]) by forward100b.mail.yandex.net (Yandex) with ESMTP id D324C60046; Tue, 25 Jul 2023 19:24:02 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 2ONSKkeDVKo0-AxkVwcmN; Tue, 25 Jul 2023 19:24:02 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1690302242; bh=6wNDG5qLNi2ci8yLIH3z1ZhsmzAP7ARa4+4mwYTRpuo=; h=Message-ID:Date:Cc:Subject:To:From; b=clI/QKP5v5ZwJiLZxDfxxaSsgn90apqu8Et/PSXG2ghTAt7my1Arr6eYjq47zHi9z sew0R2nExQTaOTYt/JNoUjJqOn5/I5zu1ss/T+vZL7FiAU3Zk74S5l8IO7FvesZJqR IVU3Sirdu+d5cKkn318Q5DFME2sQGVlN5Qn2nxkg= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Kalle Valo Cc: Tom Rix , linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH 1/2] wifi: brcmsmac: remove more unused data types Date: Tue, 25 Jul 2023 19:23:45 +0300 Message-ID: <20230725162400.192357-1-dmantipov@yandex.ru> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused 'struct brcmu_iovar' and 'struct tx_inst_power'. This follows commit b2090d93d4b6 ("wifi: brcmsmac: remove unused data type"). Signed-off-by: Dmitry Antipov --- .../wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h | 5 ----- drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h | 9 --------- 2 files changed, 14 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h index 2e6a3d454ee8..1efc92fd1671 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h @@ -141,11 +141,6 @@ struct tx_power { u8 target[WL_TX_POWER_RATES]; }; -struct tx_inst_power { - u8 txpwr_est_Pout[2]; /* Latest estimate for 2.4 and 5 Ghz */ - u8 txpwr_est_Pout_gofdm; /* Pwr estimate for 2.4 OFDM */ -}; - struct brcms_chanvec { u8 vec[MAXCHANNEL / NBBY]; }; diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h index 2b0df07ced74..12a0df5b4e98 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h @@ -288,15 +288,6 @@ struct tx_status; struct d11rxhdr; struct txpwr_limits; -/* iovar structure */ -struct brcmu_iovar { - const char *name; /* name for lookup and display */ - u16 varid; /* id for switch */ - u16 flags; /* driver-specific flag bits */ - u16 type; /* base type of argument */ - u16 minlen; /* min length for buffer vars */ -}; - /* brcm_msg_level is a bit vector with defs in defs.h */ extern u32 brcm_msg_level; -- 2.41.0