From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C773BC4332F for ; Fri, 4 Nov 2022 11:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231278AbiKDLAo (ORCPT ); Fri, 4 Nov 2022 07:00:44 -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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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