Message ID | 20221106124901.720785-8-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1477162wru; Sun, 6 Nov 2022 04:51:47 -0800 (PST) X-Google-Smtp-Source: AMsMyM6MhxKNNAAjoSo7JMtt1/Hp7cVLSva5gNB2PivHQz6yw7JB9IWKap293JFqFSDIdOVdbBsX X-Received: by 2002:a17:907:3e14:b0:7ae:4066:a0f2 with SMTP id hp20-20020a1709073e1400b007ae4066a0f2mr9922159ejc.446.1667739107392; Sun, 06 Nov 2022 04:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667739107; cv=none; d=google.com; s=arc-20160816; b=MjYDNDb/IcIkokojvBfOQL8dElVw9KsA9g6l5VG1ZPG1fGMAh61RshL/WB5ub8HKTb viOjt0grSiCYyg9wyXm130QutxcZg8yiUR6wmAzO66AeEBJcQJZoKHUWCpd6SnJEYbod rkUQWsg0JTvPW1e+UXn/PwqxX1KzZ5o5TipiXanXYqVaGpssUhbvqzppf8VJQqgtRpQ4 tX7u2n0FElJjZjw9lPrOMwpFRm5WE7j0R64Z3VqUMmp6NKCzcf8HlZWqkJioi2rWIGOk hS2GyKGNJAfqbj4c+zKqdBZMSAEuK2Sd5D+2B3D6hKJJ773r2Y0wDJR+w18J1v3CI6jb bnyg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v9-20020a1709064e8900b00732fcbcfedesi4506332eju.623.2022.11.06.04.51.23; Sun, 06 Nov 2022 04:51:47 -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 <rfc822;hjfbswb@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <martin@kaiser.cx>) id 1orf5N-0008Dj-Hj; Sun, 06 Nov 2022 13:49:13 +0100 From: Martin Kaiser <martin@kaiser.cx> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Michael Straube <straube.linux@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748751202216130306?= X-GMAIL-MSGID: =?utf-8?q?1748751202216130306?= |
Series |
staging: r8188eu: another round of cleanups
|
|
Commit Message
Martin Kaiser
Nov. 6, 2022, 12:48 p.m. UTC
The get_fwstate function is not used. Remove it.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
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...