Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp597270rwl; Fri, 4 Nov 2022 04:16:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gKEj8kYk8wOuBhpvKdZRRtAvEPh95XcsBIo8pHOk++KwtUsNCMokC7UHCo36LfQ7okggZ X-Received: by 2002:a50:cc07:0:b0:453:4427:a918 with SMTP id m7-20020a50cc07000000b004534427a918mr35271349edi.121.1667560605535; Fri, 04 Nov 2022 04:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667560605; cv=none; d=google.com; s=arc-20160816; b=mEoHsANozn1p4IrwS/5osUo6EOmD5bpKIAspBsvU3+ZYnqJRPG4JeNI/4R0v67PGyd s7R/ysJsIQzbrDnWWxYyscbb1KHpN75YfztEBmxnOgy3M88XxdV17H8ZRU72EWd9jb/b sZrlOvui97rIBfZpVRoM/clxRuQMqrDrrq+fbN4rvPvoAvVrGLoRayiFBHkVGYiYZE3r XoH1W6euHEtJlYvxYekSkjtVO/XfQgNUcZ0MpDlUeoVCnK3S2FZOmdF0I/XK1VH1H7i9 TluatKmZanbi7LRkSBDWldi3UCeZL/wl2gjCBV/VTK25BFmhgzwAMvkEOo8UwiYOtfhy 382A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=pptyFyMYl/ys/IBFBl2iuctCMh2OK+YyNvqPogLK5+M=; b=bqksNEZIJXSVlveKDb/ph+yVohT8URMWtKk3tylwVzNDY3Iij0AGGiYLaOVpwhpD9A TBnpAoMNz4iCB/JUMHhAfutxYeDynq430udYprM7LeHIb1xGDIJP/jT1gDaqKgMUth8H xnavxN3raYwdqD7ZZDSdy3keH3EKNmeFND4esWCqr7+FuYd4CCZTEmwhc0qRQbICrTI9 qldwn4xdEQFwmaGAQV+4cHVxmjAGzyFHgb9hrCjvbtC0jd0nJtZN1gUrZ7nWtvq9OTIY 0aEI09HVh2v67TsFZGKhmxQDsF4G9fYBg7zduELzkAHU+fPyjosgkzG4+TiCih9iJevZ avdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rZDLQ8p/"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr34-20020a1709073fa200b007ae1e53c187si5737506ejc.590.2022.11.04.04.16.28; Fri, 04 Nov 2022 04:16:45 -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=@kernel.org header.s=k20201202 header.b="rZDLQ8p/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231812AbiKDLAk (ORCPT + 67 others); Fri, 4 Nov 2022 07:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231695AbiKDLAb (ORCPT ); Fri, 4 Nov 2022 07:00:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB70F2C126; Fri, 4 Nov 2022 04:00:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5BE4562159; Fri, 4 Nov 2022 11:00:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD2CFC433D7; Fri, 4 Nov 2022 11:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667559626; bh=/MGecyQmJdqPsReJBSYYANujGfYMhCik3e8q0K1i5p4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=rZDLQ8p/FknkmIXRK1vRJjz6MsTjqH71aZVu+TDZUbvp3uLCM/Ym82+78mxKOMcSB 9iRVJAZ/hnDYwVeczGhu9Vi13ZEp7i8Wyjofo7bbW5eDPuR3RQVWVz1OK20Hfy/mhA 9mEmiXRLmaXGucT5u3/VvVBUudO1d71Lk23tYVhHbUi3ADbGz5oaCWi1NqxGjAkBPt 2AjVy6aSzWK5FayQ++S9/Jc1s4L8QnDCG/sPmGJrv9e5VJeSTaqlAy9ruAjlEs+s7N 8dM46hkeN8kA4UWlaIEVgw01fEAbfqO775+4IKTf+P19XRLQe4daFaAonGtEl/dxId B2/b9X9GauWBQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: wifi: rtlwifi: rtl8192ee: remove static variable stop_report_cnt From: Kalle Valo In-Reply-To: <20221031155637.871164-1-colin.i.king@gmail.com> References: <20221031155637.871164-1-colin.i.king@gmail.com> To: Colin Ian King Cc: Ping-Ke Shih , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166755962299.3283.14022973939524774032.kvalo@kernel.org> Date: Fri, 4 Nov 2022 11:00:24 +0000 (UTC) X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Colin Ian King wrote: > Variable stop_report_cnt is being set or incremented but is never > being used for anything meaningful. The variable and code relating > to it's use is redundant and can be removed. > > Signed-off-by: Colin Ian King > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. cdeee8540952 wifi: rtlwifi: rtl8192ee: remove static variable stop_report_cnt -- https://patchwork.kernel.org/project/linux-wireless/patch/20221031155637.871164-1-colin.i.king@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches