Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7581819rwl; Fri, 30 Dec 2022 10:34:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXuq7kvLsn1O/cNhAWdFzCLmQEdrQ8nefVhPeK/mLwPiJEmqVyl6xnG1bE2qqUf6sIhYpjws X-Received: by 2002:a17:903:48b:b0:192:84aa:a247 with SMTP id jj11-20020a170903048b00b0019284aaa247mr16248842plb.30.1672425251007; Fri, 30 Dec 2022 10:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672425250; cv=none; d=google.com; s=arc-20160816; b=KQ1fSG3g5QCZu56Ajy1ZxWP2n7H7dOXxfMAkJgrghL/GhlsA6D7wLX6BHTeIAIijQh vrTh86ZCBjlp7EFjB8mz32p2G8cZdeAd/DM1r/PfK3v3hXdlCQsgKSGro4zH2yZ99wh0 icu+0aebe/RREFb4EHVp7i2TVqcLb+roqzceDglQ3lkoDrgzMVBRojtRra69zBh3zpuG 8PabbdNJ6hw4rTNtTDcPDg9WYQ6WTqrEo71ccLyGP2HE2bjjENLJOXrj3IwVAMGiQw8D 69NGk1R1/csQTHT6RCis8XzJ2KjqPbq6fpIDNwOx3BndM5ykOyyJYO4O4hvY6W34BQL9 yHVA== 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=WEqY4t+U4WcG5l02SKx4PKieE1hjclBGXF9a64A8w6s=; b=TUzFqAK6Vtj0LCbTUCkD4UBQ9yZx1fLjeEfZuUAvma39Jw4vRStSs0Dy2oCcDJSGha ge9noeEwnjguiDuI5tsNgFDVNhMKN/CcM1x8bCfawOyKPgwe2sQsjsfjqjsxwE9LQFUA bnPvJVwvtrSVhsPT8ebGI3O27iuw8AMPb7UKfkc8n91ztGhWgKkzp9NTXwOdfSA28IfO bOG2wSNCH9q83bDjq785FWbZhW6TD2XjcuU9GE7r73D/VU3e59xcKTESyEWlGNtdUsIx oEh1aAlFjXeo16f3YJcaDfpH1yrjiJaKWqt7oyPrQ/Ro+QXJDKxyBRIUrPZ3Ofv18EMP HN5g== 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 i9-20020a17090332c900b00186b1459953si23866031plr.382.2022.12.30.10.34.02; Fri, 30 Dec 2022 10:34: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 S229681AbiL3SIS (ORCPT + 63 others); Fri, 30 Dec 2022 13:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235504AbiL3SHm (ORCPT ); Fri, 30 Dec 2022 13:07:42 -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 42F7F1C923 for ; Fri, 30 Dec 2022 10:07:26 -0800 (PST) Received: from dslb-188-097-208-179.188.097.pools.vodafone-ip.de ([188.97.208.179] 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 1pBJmq-0004rR-Dq; Fri, 30 Dec 2022 19:07:20 +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 18/20] staging: r8188eu: phwxmit parameter is unused Date: Fri, 30 Dec 2022 19:06:44 +0100 Message-Id: <20221230180646.91008-19-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221230180646.91008-1-martin@kaiser.cx> References: <20221230180646.91008-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 Remove the unused function parameter phwxmit from function dequeue_one_xmitframe. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/core/rtw_xmit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index eb47d8276eec..347f06f48a37 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -1399,7 +1399,7 @@ s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitfram return _SUCCESS; } -static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, struct hw_xmit *phwxmit, struct tx_servq *ptxservq, struct __queue *pframe_queue) +static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, struct tx_servq *ptxservq, struct __queue *pframe_queue) { struct list_head *xmitframe_plist, *xmitframe_phead; struct xmit_frame *pxmitframe = NULL; @@ -1452,7 +1452,7 @@ struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, struct hw_xmi pframe_queue = &ptxservq->sta_pending; - pxmitframe = dequeue_one_xmitframe(pxmitpriv, phwxmit, ptxservq, pframe_queue); + pxmitframe = dequeue_one_xmitframe(pxmitpriv, ptxservq, pframe_queue); if (pxmitframe) { phwxmit->accnt--; -- 2.30.2