Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1338720pxm; Sat, 26 Feb 2022 12:14:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUagJR+fGxLrz1urESZ6Gtl5WBnvynwbTmo783Bv1zA1Hjdhg6/aZbgsFvWyAU176uFgae X-Received: by 2002:a17:90b:3c01:b0:1bc:b160:7811 with SMTP id pb1-20020a17090b3c0100b001bcb1607811mr9208454pjb.164.1645906496026; Sat, 26 Feb 2022 12:14:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645906496; cv=none; d=google.com; s=arc-20160816; b=ylLwiAExXsoGhlRdTPTKcwfH9lHMtXKtk/UvlYyT9hlgcIqvvF7QT7xnCAXmkYNdF5 iXh8UeQUjE/AC+6iEPKAaTnic9WINY3fHco3pvZ4rFY9zyN/w37EBieHGpxQDyEZj+LT 5HIbSTtINmslxEbvDgBeCuH/9hIwEz/hBqprSk0tOxY5wayfDt9H90DyYiTFNvrQyI6P 0XHq19pIzvTuf9yMsWef1QtuYH0tdvTLHLcOmrLVBVFfcFi/gI/IZMUySlIiqUBZckRi OeFtSx82SMHCBy6J+OsD1AiY8ATtTsUwMj8Q37h/FCCZtGqmFs4WVN/TECNl+Ph8v623 lbUg== 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=eYSGqPId4g/X8bnHqEgsinwatsMl/6AgIVodSMXVUJdFHvVAVcyc/RiRwA1pvaFfNk jlPOqjpFKsBv0rwERFzI1HVjhSVXJj47N/57o/nlwce4sWBYPcn2CFK4KKNK9O391aiP zSZlaP48zSgEn9eA4W0xOLwfCJoWEclUH1MjLYxUsRTiqXjpsr+MHfcv5fIm85Ws327X SuSUfzyy0K+OGMB8bhVWj5mvf/zJpsW5lmC+aI1/QDUv7C0zrErbVSbd3tnadXv6wY6m 7vGUjN8/Ykjmz1DVkcy5AOHTqI/oViKfJ/qsoFt0oXGC6a+FOiAMfC4YybwvP4baHVby LbCw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b15-20020a631b0f000000b0037865a72928si2675040pgb.444.2022.02.26.12.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 12:14:56 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 0E01121F5DB; Sat, 26 Feb 2022 12:08:05 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232577AbiBZSQF (ORCPT + 99 others); Sat, 26 Feb 2022 13:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232304AbiBZSQC (ORCPT ); Sat, 26 Feb 2022 13:16:02 -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 A48C9FA23F for ; Sat, 26 Feb 2022 10:15:27 -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 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> 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