Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1338263pxm; Sat, 26 Feb 2022 12:14:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtc+QyMsV1xEudHAcQVTaXTwcVQKcFN3bdRlkvG/sIvUx7lfovpyTPduXM22zgZtM5GVgt X-Received: by 2002:a63:2c14:0:b0:373:7200:d07d with SMTP id s20-20020a632c14000000b003737200d07dmr11353162pgs.617.1645906447104; Sat, 26 Feb 2022 12:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645906447; cv=none; d=google.com; s=arc-20160816; b=q0wc9H3PB+YIPBaQaEEl6rJnNPKzQP7DpupMoBL+nx0FnBuEjYrUuDPSJSJZSqgG2Z NERojlT/emZn8lrQM7K4QiDHVL0SExROFQyTXRJnq+yvMUW7/TfKq+CUwvr8+yAbMjwR rmMakHVTpBdV3bReXL2vW4IuLsDDeHyt6OpoZ1cOtmVgsnlh4GL7MeW39WzrYBRIvtQO A2v1E42B/e5JsBpmCfFK/hkpSIx9f4ysZsQ2IliALmmyk6FHb2dYVUAZoDLuC33Y8udC bIZZE85gp8QlfLW2+lHjnd3jUzjwnBott8/aw35KR9UDgMsB35oTVzCQDHh1JnzwJYtw /uTQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+n0huRWVQUin3xeNtDpMgNEVVZiFPKbn6AVJj0qWhc4=; b=bsUaCaM+rtAl5Y/nYwO+NAcotegc92xkPXKvTl8wU8y5qe2BD7mQzdUq3IQKWEzios NTguZqD5BjAAyikEEb4TRUhOtBy8+lrA422xFUswYXxzWQ72VZytweKVSJLx5NMbasbz A65opJi9jCRkslq4Ix8M8I84XeBV/9OnfY19G1qukIEOs0aiAg71lWNfXQoF7o7R6aQd CCq9TRUTTKjEm9Gl+lJeLX1L9A6foim5GMo+juYFyGGwGaVxkqjOlKb/vcqq/CnFRICZ Yb15F2ScQcl23GRIxHh1kiadV21QSg8FtCcpiJRoqzLZJox1F0ckvDrNBVY50o7SbUSP 8TAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q20-20020a170902789400b0014f2b9c6351si4999989pll.460.2022.02.26.12.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 12:14:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA60710B8; Sat, 26 Feb 2022 12:07:41 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232001AbiBZOti (ORCPT + 99 others); Sat, 26 Feb 2022 09:49:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbiBZOte (ORCPT ); Sat, 26 Feb 2022 09:49:34 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54BCB186225 for ; Sat, 26 Feb 2022 06:49:00 -0800 (PST) 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 1nNyNT-0007Wh-So; Sat, 26 Feb 2022 15:48:55 +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, Martin Kaiser Subject: [PATCH 1/6] staging: r8188eu: smooth_rssi_data is not used Date: Sat, 26 Feb 2022 15:48:38 +0100 Message-Id: <20220226144843.1118951-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220226144843.1118951-1-martin@kaiser.cx> References: <20220226144843.1118951-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org 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