Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6502187rwi; Mon, 24 Oct 2022 02:13:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42GcMC2hshVqlvtJ8Qxbn2AaMuSqR2IG2xNhYo8TIjnUvNuv+XK26GUmNAYgRzfL4vzvXA X-Received: by 2002:a17:907:86a0:b0:78d:df8b:4d17 with SMTP id qa32-20020a17090786a000b0078ddf8b4d17mr26486157ejc.254.1666602819206; Mon, 24 Oct 2022 02:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666602819; cv=none; d=google.com; s=arc-20160816; b=Cbw/Y/qovqUH4bDI4DsgmYKgXds6bXbigwxcgRmv2Ex/XHT0uyhFi90EVrMZvJ3w3Z 2B39f/6clyYMwD1r1YbpEvrIsBgF+XX7Br4NJnBssX8tIRIo8MO6vtldTs8DYKHo7Igc Rda99u2rKDqJo39VFx2yxQmkRABZvvXelDQOoHfIDhQgscXHD/p8lzzxHcoGPzGTInwj GwEAqdkr6bBKsYfuqbMJGKsm5tC5W9KNVqpiGEmV66wdjytVGA3VKSLK/pI7BM1Kcd2o g+cezCGxRxjWnt3zjl4ECJq4Dl09HhO60FNSnduytZZd7oiOfE1s5rBZyNHvp7sI3wcw 8Vqg== 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=PuRr9o+eqpxROmeYSsRpbCLVAMEpSbAa/+KHvsWF7zk=; b=Z+I6/B90DJXduVDUzVjO0Wax7rMSjKEUynWFHa2Nc6ECTdteByEOEbB4i1PIgOhbEq LZPQMdzQmhqx/JIm+UzH7iXdG+nlH12EuSk1uIqQ9OQkZLXQBnA/W6hX/3jZTty7ldnZ UP59WMtZbQg/YArqw+qGyUHs+ybW0wf8DO4+EaOTXwOpr54dOIl+Nbww7j3WL55KTQcP OAd52A0fbgyzu2jMGAeLEBpSaMsCXLLlZjeT1zEDJ6KbOm4H/KU6Knifs68YPPnezqeI 5JJ9LzzlaPvHoQ+XZdKb6sIMkwMO5gxyNtetfEOGkrjuSEgI+Jgj85+ozdhFZP2vuy2M LPIA== 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 g11-20020a056402090b00b00457053aadeasi33433878edz.398.2022.10.24.02.13.14; Mon, 24 Oct 2022 02:13:39 -0700 (PDT) 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 S230159AbiJXIOq (ORCPT + 99 others); Mon, 24 Oct 2022 04:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbiJXIOg (ORCPT ); Mon, 24 Oct 2022 04:14:36 -0400 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 3EF8A64C8 for ; Mon, 24 Oct 2022 01:14:32 -0700 (PDT) Received: from ipservice-092-217-079-032.092.217.pools.vodafone-ip.de ([92.217.79.32] 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 1omsbL-0000nk-DN; Mon, 24 Oct 2022 10:14:27 +0200 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 02/17] staging: r8188eu: make OnAssocReq static Date: Mon, 24 Oct 2022 10:14:02 +0200 Message-Id: <20221024081417.66441-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221024081417.66441-1-martin@kaiser.cx> References: <20221024081417.66441-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 OnAssocReq is used only in rtw_mlme_ext.c. Make this function static. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/r8188eu/include/rtw_mlme_ext.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 15b7148fa898..4e7d9a273fe4 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -911,7 +911,7 @@ static void UpdateBrateTblForSoftAP(u8 *bssrateset, u32 bssratelen) } } -unsigned int OnAssocReq(struct adapter *padapter, struct recv_frame *precv_frame) +static unsigned int OnAssocReq(struct adapter *padapter, struct recv_frame *precv_frame) { u16 capab_info; struct rtw_ieee802_11_elems elems; diff --git a/drivers/staging/r8188eu/include/rtw_mlme_ext.h b/drivers/staging/r8188eu/include/rtw_mlme_ext.h index 66aa8b497aa1..41e31cec9abe 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme_ext.h +++ b/drivers/staging/r8188eu/include/rtw_mlme_ext.h @@ -536,8 +536,6 @@ void start_clnt_auth(struct adapter *padapter); void start_clnt_join(struct adapter *padapter); void start_create_ibss(struct adapter *padapter); -unsigned int OnAssocReq(struct adapter *padapter, - struct recv_frame *precv_frame); unsigned int OnAssocRsp(struct adapter *padapter, struct recv_frame *precv_frame); unsigned int OnProbeReq(struct adapter *padapter, -- 2.30.2