Received: from viti.kaiser.cx (viti.kaiser.cx [85.214.81.225]) (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 777403D7F for ; Sat, 26 Feb 2022 18:15:27 +0000 (UTC) Received: from ipservice-092-217-092-093.092.217.pools.vodafone-ip.de ([92.217.92.93] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nO1bH-0001Cd-RT; Sat, 26 Feb 2022 19:15:23 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Pavel Skripkin , Martin Kaiser Subject: [PATCH v2 1/7] staging: r8188eu: smooth_rssi_data is not used Date: Sat, 26 Feb 2022 19:14:51 +0100 Message-Id: <20220226181457.1138035-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220226181457.1138035-1-martin@kaiser.cx> References: <20220226144843.1118951-1-martin@kaiser.cx> <20220226181457.1138035-1-martin@kaiser.cx> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit struct smooth_rssi_data is not used in this driver. It can be removed. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_recv.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_recv.h b/drivers/staging/r8188eu/include/rtw_recv.h index 5e65cf6b87bc..13df95781747 100644 --- a/drivers/staging/r8188eu/include/rtw_recv.h +++ b/drivers/staging/r8188eu/include/rtw_recv.h @@ -55,13 +55,6 @@ struct stainfo_rxcache { */ }; -struct smooth_rssi_data { - u32 elements[100]; /* array to store values */ - u32 index; /* index to current array to store */ - u32 total_num; /* num of valid elements */ - u32 total_val; /* sum of valid elements */ -}; - struct signal_stat { u8 update_req; /* used to indicate */ u8 avg_val; /* avg of valid elements */ -- 2.30.2