Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp206142rdb; Tue, 5 Dec 2023 03:15:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkizmuN+nzEGzEgA2iSNmjmOAvSVyZGE/4nHSKZGKUVBoVPpI1EIBXsKpYGRILWEsF8ch8 X-Received: by 2002:a17:90b:30d7:b0:286:f3d8:de2a with SMTP id hi23-20020a17090b30d700b00286f3d8de2amr88671pjb.45.1701774924840; Tue, 05 Dec 2023 03:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701774924; cv=none; d=google.com; s=arc-20160816; b=a51p95+yi++GPnUwQE8JMIY9XWqPOIqJTnB8n9ZSwrFtI0GgBZ3aPae6uccVLapmVi czHcUPqfcneFJ02Q64iHIVEVTNnUyks4k6NyQr/jhTKYnh2tESaec91ZisW1FHoPEQgc jAr2lqozmsscW9+lM/OIn2u9EDf82cpIkG1eLZgEQghUL5J2QgJE/9+zOJ0wFPezAvtY nuHdVM1KruRrIBnh+CkayoY5BhFjE3sKvkaxZqtyBJdB2ykzwh42G0SOuEMY/wMzmeaV tPYq8OvA81CEWHKIbTcJLNLDfc72Cw6cNXQI6iS6AZGlms1OJn6w2w+L94MiZguIBjts dTNQ== ARC-Message-Signature: i=1; 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=OMeAJYGecK+kd/M7k6EhRkcggnT+9JJKjogb/znPd90=; fh=CPfSaw7Sr0K9ssDG2Jr5ikPKr6fzUhYrxDoBktVdqaE=; b=cqoS73LHQJhRCytq9usocsAr7vyxY/Nf/dWq4kHuxLH+OiMV7ftU3HgnzH+c5fUwtC /4Ly0j3d92YYwJI/GjbBpB+5OU8FrgJD/TajVPxUhkqZ+KW3E5vu7upRhv9lGAAUn/un Xy3SBAJOUISurweXNV+s0fWzKwy7dKuCz6yVMGcLgUEcIL507eWcNlS9/pETELPdrl/+ eo2rRw9rmHJjW3GHlAjRuvNnzN+okwaH5SQfl2Azaqn8zxLQxKS+mLZ/1lFebUC55QY+ RG9rnv9/1oFZnmyhGnxuIoAKHsqv+xtYY3pXpIHPFKJmUspcv3/BPwZ8Cir/eMWksKKr ZNZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NFYFnmuK; spf=pass (google.com: domain of linux-wireless+bounces-418-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-418-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s13-20020a17090a440d00b002773d013d02si8992795pjg.140.2023.12.05.03.15.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:15:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-418-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NFYFnmuK; spf=pass (google.com: domain of linux-wireless+bounces-418-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-418-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D3A8AB20A46 for ; Tue, 5 Dec 2023 11:15:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 972E755782; Tue, 5 Dec 2023 11:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NFYFnmuK" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7A127D2F2 for ; Tue, 5 Dec 2023 11:15:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FBD6C433C7; Tue, 5 Dec 2023 11:15:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701774919; bh=Tbzzrz0GhjjdIHOAsVLhTZq78N+oP5wAxgm97zPGVsc=; h=From:To:Cc:Subject:Date:From; b=NFYFnmuKS0WzyxOfAAasCNC/vmQ9bdu3V3dv4Q9p5PyEi9wTW/ulnWoPWDk+VBS7p Id/S65IC4aLXQTpVDMX6mmlCw17Pkus2m5j7xtWZAulSLby+akXoZWV+kzmzjse+L5 NKu9v78OqIreSTKzBSf3vKlrHqQ8v0seet4qRcZRNnRGuhn60RZexC0I8UnjgjTrLH K+bsprx8/Bd4b0b+l3PI4sXQsf0J/c/YJmfdW/zq+QRkT7Ns388ZwCJcnX8Ue/SzAM aB1XZnmuz5R641+bVSevJ+hb4EDMLUCXZSNktWPU7ZOt5mMOW64jxNIf/OHyoUQZip X3UEPoJhshlLQ== From: "Jiri Slaby (SUSE)" To: kvalo@kernel.org Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Felix Fietkau , Nick Kossifidis , Luis Chamberlain Subject: [PATCH] ath5k: remove unused ath5k_eeprom_info::ee_antenna Date: Tue, 5 Dec 2023 12:15:15 +0100 Message-ID: <20231205111515.21470-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.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 clang-struct [1] found that ee_antenna in struct ath5k_eeprom_info is unused. The commit 1048643ea94d ("ath5k: Clean up eeprom parsing and add missing calibration data") added it, but did not use it in any way. Neither, there is a later user. So remove that unused member. [1] https://github.com/jirislaby/clang-struct Signed-off-by: Jiri Slaby (SUSE) Cc: Felix Fietkau Cc: Nick Kossifidis Cc: Luis Chamberlain Cc: Kalle Valo Cc: linux-wireless@vger.kernel.org --- drivers/net/wireless/ath/ath5k/eeprom.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/eeprom.h b/drivers/net/wireless/ath/ath5k/eeprom.h index 693296ee9693..e85b713950b1 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.h +++ b/drivers/net/wireless/ath/ath5k/eeprom.h @@ -489,7 +489,4 @@ struct ath5k_eeprom_info { /* Spur mitigation data (fbin values for spur channels) */ u16 ee_spur_chans[AR5K_EEPROM_N_SPUR_CHANS][AR5K_EEPROM_N_FREQ_BANDS]; - - /* Antenna raw switch tables */ - u32 ee_antenna[AR5K_EEPROM_N_MODES][AR5K_ANT_MAX]; }; -- 2.43.0