From patchwork Fri Dec 30 18:06:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 37746 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3009480wrt; Fri, 30 Dec 2022 10:10:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXtC7gLSxwvij8TqSFGdag/kjCzpQrHwhRgo9sjWAS/VcjyOrk/uJS7dZgToxMttG16VT9uA X-Received: by 2002:a17:906:4e48:b0:7c1:8f78:9562 with SMTP id g8-20020a1709064e4800b007c18f789562mr26442868ejw.50.1672423841797; Fri, 30 Dec 2022 10:10:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423841; cv=none; d=google.com; s=arc-20160816; b=e7AmlZd6LTZC4DGHWCnMY0L/qRdSy3KHsLTOuHWcQjONGHSf0EyYgMLDQmZLc++092 RJKb4vziZp+5WtEb/QeJXG1RiqGjfLIXFIA2+qXBop6Pj+rwPg9+Z28tJNs80fAoxOOp XsyEcuf+hi3pfVjx+33e3qodlu6gqbKF+aRRcn/Unj5o5gNzMzSgxFx7SYZw4grrg+eC +HUEOQkonh1b9cJAQOIPXD4wDAGvIqbPp/caKBqVYsKOtHZR3XXM0IRo+ORnE2hR0ISA Nu5McvTfbyAhH4sEx4gcbLX1kgqD3BJ4+ncdgvLvYqC33PPhiu+QhQ82btiQdDtHV5IJ HAaQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg5-20020a1709072cc500b0078dc5c888f1si19515414ejc.135.2022.12.30.10.10.18; Fri, 30 Dec 2022 10:10:41 -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 + 99 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 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?1753663502044786025?= X-GMAIL-MSGID: =?utf-8?q?1753663502044786025?= 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--;