From patchwork Mon Oct 24 08:14:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 8217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp317695wru; Mon, 24 Oct 2022 01:19:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YYSGXQewab5X+qU2mIGiPJjlHAgZAzXr1Va6BXuMcXRi6QX8mp331DZfAltP9FsolpFBb X-Received: by 2002:aa7:c0cf:0:b0:45c:6a06:ea9a with SMTP id j15-20020aa7c0cf000000b0045c6a06ea9amr29263371edp.211.1666599590078; Mon, 24 Oct 2022 01:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666599590; cv=none; d=google.com; s=arc-20160816; b=oWuBqI82vfUi9NYFneiDmiwv+dAcHNhP4BRylVm1hCxxaFQmzhxMnJGpoLzggrtkEy lT8llTjG9zNX1nihOQ7oQxh1vCoG/IHbx9pldpD2dw3LwQdOr2vAPiqj/QEiOQQoDtFf 5pdSZyY2Qcoq8AuYW5Me1bcxQeex+VAertr6Q7YBareVqdejzIFY3uUianWy5x6nJSdK jaHows+9PMbBpn5cLGMbfdx54VY7UQQ5j5+8Ogu0YuhqxQUiOvnCmXbw60XiwLsECyb5 g4IhMNgDqqsXj/8SnFqHsQ1J4swx910c49hv0aTQMYhcIvEmYE6qqPCyR3wCBEitjmPn v6iw== 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=FAkp76vVzNsLzYs6ppHvN9KPBAGvmmPpIQF4czLkzuc=; b=H3mzuaaJ2nIfR8NMXFtONa0Dz1GhaXSH4j43eeQxYYnZ+ANySIQkcBzmUzxq3GuYCT ybFNeuUz1P0WskLTmMoqiqRrKGrf6AOljqMPXikBPmHaiusn9tLuaaOwGvGSDJqU5oCt y9krvOolyDY1AA/jcJop3kAlOfD2uhBHxRZFoB9t9PiVGc0WLINuEcYlbIuRHQL9QCS+ JNbr/NYd/StxSp02l0j70rixrX5q0b733YI+gRKY4vVu6C4OVKmeVpecLtXxRKVWeTvU Tb9DXcy8phx3H7JzsrdEphXZvthd0HWjlmmhukN497tmKWw0U2lk9bOcCCB3MVltxDv2 51gg== 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 sc39-20020a1709078a2700b007aa5e6c4b5bsi512158ejc.164.2022.10.24.01.19.25; Mon, 24 Oct 2022 01:19:50 -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 S230245AbiJXIPO (ORCPT + 99 others); Mon, 24 Oct 2022 04:15:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230189AbiJXIOn (ORCPT ); Mon, 24 Oct 2022 04:14:43 -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 E65E115A19 for ; Mon, 24 Oct 2022 01:14:39 -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 1omsbU-0000nk-2s; Mon, 24 Oct 2022 10:14:36 +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 08/17] staging: r8188eu: make OnAuthClient static Date: Mon, 24 Oct 2022 10:14:08 +0200 Message-Id: <20221024081417.66441-9-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747556331882066390?= X-GMAIL-MSGID: =?utf-8?q?1747556331882066390?= OnAuthClient 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 dc836e5878d1..7c9ca0c71b65 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -800,7 +800,7 @@ unsigned int OnAuth(struct adapter *padapter, struct recv_frame *precv_frame) return _FAIL; } -unsigned int OnAuthClient(struct adapter *padapter, struct recv_frame *precv_frame) +static unsigned int OnAuthClient(struct adapter *padapter, struct recv_frame *precv_frame) { unsigned int seq, len, status, offset; unsigned char *p; diff --git a/drivers/staging/r8188eu/include/rtw_mlme_ext.h b/drivers/staging/r8188eu/include/rtw_mlme_ext.h index c1bc554202a0..866d358f5f10 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme_ext.h +++ b/drivers/staging/r8188eu/include/rtw_mlme_ext.h @@ -538,8 +538,6 @@ void start_create_ibss(struct adapter *padapter); unsigned int OnAuth(struct adapter *padapter, struct recv_frame *precv_frame); -unsigned int OnAuthClient(struct adapter *padapter, - struct recv_frame *precv_frame); unsigned int OnDeAuth(struct adapter *padapter, struct recv_frame *precv_frame); unsigned int OnAction(struct adapter *padapter,