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 C329A3FD2 for ; Mon, 13 Sep 2021 18:53:13 +0000 (UTC) Received: from 250.57.4.146.static.wline.lns.sme.cust.swisscom.ch ([146.4.57.250] 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 1mPr4o-0005CM-SZ; Mon, 13 Sep 2021 20:53:10 +0200 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 v2 7/8] staging: r8188eu: remove unused variable cpwm_tog Date: Mon, 13 Sep 2021 20:51:09 +0200 Message-Id: <20210913185110.3065-8-martin@kaiser.cx> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210913185110.3065-1-martin@kaiser.cx> References: <20210911141521.24901-1-martin@kaiser.cx> <20210913185110.3065-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 cpwm_tog in struct pwrctrl_priv is not used. Remove it. Signed-off-by: Martin Kaiser --- v2: - rebased against today's staging-testing branch drivers/staging/r8188eu/include/rtw_pwrctrl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/r8188eu/include/rtw_pwrctrl.h b/drivers/staging/r8188eu/include/rtw_pwrctrl.h index 9e4b4eef4d27..08d414aa9ef5 100644 --- a/drivers/staging/r8188eu/include/rtw_pwrctrl.h +++ b/drivers/staging/r8188eu/include/rtw_pwrctrl.h @@ -61,7 +61,6 @@ enum { /* for ips_mode */ struct pwrctrl_priv { struct semaphore lock; - volatile u8 cpwm_tog; /* toggling */ u8 pwr_mode; u8 smart_ps; -- 2.20.1