Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp9152924ioo; Sun, 5 Jun 2022 06:32:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwi+TDtxx2QAuWAkjC6BSD3yXHywZygS+WB6Y0IE4ngUfcB6tE4q4llCRTN4bx3yaa8DnE0 X-Received: by 2002:aa7:85d1:0:b0:51b:f4b5:db7b with SMTP id z17-20020aa785d1000000b0051bf4b5db7bmr7458194pfn.41.1654435933763; Sun, 05 Jun 2022 06:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654435933; cv=none; d=google.com; s=arc-20160816; b=tVPr7DTbep8tw9QYXRnDcbvolMMnOfouaYWOKSQSneALCtwe/tUCn2+Uxn+c6HJYEi 4lUR1SMg4JBWRFc5RSYHi8bv5QxbmwGS0BfQpPCQSXHWYY6dZ6IRYlaN8RwbIvSYCpwP 6s0Sij9v6dPvGxNeFm1KERmamqcHOYR3A5yoif5kfhPhyqsG47KAIjmnZvwb0zLc+wRH zW781in1AKai94E94gJPbPGSTb7XsfFMMqrt3xZtnXibqE0txqMoExi8Y+KlpmZ8P4HF ldoKpUXhBSR3OKCw2pduFNQsCDmlbOdDi5SUa8VMz2uMfFfmMLtiy3SPCDKGXpymOY6+ NIqg== 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=3dGlqe92K/IIRozGR5MMGaeUOC3ydcosPthNZmm0YiE=; b=ud7iyYpu16G2glOSfA9zB9Tjedjd/PGQPcRafRxxEEEFX7AJebBKZIXIo1dinlE6kW go0mvMTQ6NO8gVuEzE4huTPrDhkQrC+Bc3zrsDT9wKuxAqa6orUWqCUgKhB6pJMwZmsE j1y2pGoPIzGlmgsfe0HQw2j26RDpElXX1L81cBKe93Iz4GicTyxmoSsluVPOaoHOcG1S qv1cWUKZa5/3h1V0gMdMDv/9OYRKkuSzjnqVyldmmXlltkOAaHX6EeZeg0gmR4pHLAyk oEA1Q7/TnAsFfiRjEspFlCDHVaqDq8Q2Uh/qxaHCmJajZdaxGqAGhgSVc8i8GCi0Dm4w LcvQ== 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 bg18-20020a056a02011200b003ab1d7664e8si5225571pgb.66.2022.06.05.06.31.59; Sun, 05 Jun 2022 06:32:13 -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 S238975AbiFBTsf (ORCPT + 99 others); Thu, 2 Jun 2022 15:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238879AbiFBTsY (ORCPT ); Thu, 2 Jun 2022 15:48:24 -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 92F2B60E6 for ; Thu, 2 Jun 2022 12:48:23 -0700 (PDT) Received: from ipservice-092-217-081-045.092.217.pools.vodafone-ip.de ([92.217.81.45] 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 1nwqnr-000400-Aw; Thu, 02 Jun 2022 21:48:19 +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 3/3] staging: r8188eu: fix the declaration of process_pwrbit_data Date: Thu, 2 Jun 2022 21:48:07 +0200 Message-Id: <20220602194807.281115-4-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220602194807.281115-1-martin@kaiser.cx> References: <20220602194807.281115-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,T_SCC_BODY_TEXT_LINE 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 Fix the declaration of process_pwrbit_data. Make the function static and remove its prototype. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/core/rtw_recv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_recv.c b/drivers/staging/r8188eu/core/rtw_recv.c index df518439aea2..fe3d597fea69 100644 --- a/drivers/staging/r8188eu/core/rtw_recv.c +++ b/drivers/staging/r8188eu/core/rtw_recv.c @@ -452,8 +452,7 @@ static int recv_decache(struct recv_frame *precv_frame, u8 bretry, struct stainf return _SUCCESS; } -void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame); -void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame) +static void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame) { unsigned char pwrbit; u8 *ptr = precv_frame->rx_data; -- 2.30.2