Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp240392rwb; Sun, 6 Nov 2022 05:28:10 -0800 (PST) X-Google-Smtp-Source: AMsMyM40tOtBd+CNmAyycI4ybhjI9ThB0h6vrmD3CyF/Pt0QHHGdJhsyD+fJZAKfwPqOesd32aY2 X-Received: by 2002:a05:6a00:3698:b0:56d:3180:e88f with SMTP id dw24-20020a056a00369800b0056d3180e88fmr42241515pfb.66.1667741290495; Sun, 06 Nov 2022 05:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667741290; cv=none; d=google.com; s=arc-20160816; b=UKifP25y3g4SAFeiM6nATM6Fhsz6OunOZcSzM8RFGp1QHkQNPVVj2KV3YR8wg0GMv8 Rb9iw2H6+yE9uwE3HJO3syAeNWPhIrn6bRZU3BBSSeepsff0XOZ/HeohWWSC9Wr6wBdV LFcqPHKa0GEX6FT0TkKtpYg41mnQozI+T+b0usYl9le02E7Myo41pD8i85ZNefMCWXpd yWNm6J4j33SuZJDmWVEyPRy3/2xSnjyaBAlSENWTaN6zhPfRq4h9V/oy2ZVaH08guRE5 dodgfMi30sBnbZuQME+uleMc96H0yjXPEQ3AtVh+szF8SyT+nJQfqHryxlglieZQ7t3Z Ovag== 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=0h2jb3GwRGDqgyd43FXXnyMzIWSDwDtJQpQXCZ4tKcM=; b=xyIQ0hNbZ181Og2F7CzzOStzYQEVsblJTXp996+Bnx3HM4NkH9q1Gz6pvNrBrdcptZ vXcZ8Dk88Cw++ObWSSj7HVY/e3H7TKQiFWhDC/rJPZoap6cNyZeODMV8fEO0hQI9uRlq +bkyKTAnCeAM+XGiVaQl0KS6rUE6M7GJW4bMbqQ0XVYnIpf16sUGENRM4AsUyZ/ZOaky kuMEUvE2j8P3rr83W0oIIE5tRHUPuyHmDHTvVI5mM8U93gbHtgBaa5r+C4koHhXzwvI2 KWqpFnnEWZKPFc6j24UxgWyPxBhzDQ8wpkBLjQagj+bHD5ND1FayCrd2k7txVtcz8jOr e4ow== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a170903124c00b0017f908814c6si7981145plh.532.2022.11.06.05.27.58; Sun, 06 Nov 2022 05:28:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbiKFMtb (ORCPT + 96 others); Sun, 6 Nov 2022 07:49:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbiKFMtS (ORCPT ); Sun, 6 Nov 2022 07:49:18 -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 567F664EB for ; Sun, 6 Nov 2022 04:49:17 -0800 (PST) Received: from ipservice-092-217-068-220.092.217.pools.vodafone-ip.de ([92.217.68.220] 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 1orf5N-0008Dj-Hj; Sun, 06 Nov 2022 13:49:13 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 7/9] staging: r8188eu: remove get_fwstate Date: Sun, 6 Nov 2022 13:48:59 +0100 Message-Id: <20221106124901.720785-8-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221106124901.720785-1-martin@kaiser.cx> References: <20221106124901.720785-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,SPF_HELO_NONE, SPF_NONE 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-kernel@vger.kernel.org The get_fwstate function is not used. Remove it. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_mlme.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_mlme.h b/drivers/staging/r8188eu/include/rtw_mlme.h index ca539c652f26..268f898b151b 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme.h +++ b/drivers/staging/r8188eu/include/rtw_mlme.h @@ -443,11 +443,6 @@ static inline bool check_fwstate(struct mlme_priv *pmlmepriv, int state) return false; } -static inline int get_fwstate(struct mlme_priv *pmlmepriv) -{ - return pmlmepriv->fw_state; -} - /* * No Limit on the calling context, * therefore set it to be the critical section... -- 2.30.2