From patchwork Mon Jan 23 20:53:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 47391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1811206wrn; Mon, 23 Jan 2023 12:56:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXse/4cxCF2om0RH5BYoOH4gRJpnzHVf9kKfVfBWQzJ75BnV00xl4dG3Vf1drxylAOQh9HUe X-Received: by 2002:a17:906:2683:b0:7bd:43e9:d3ab with SMTP id t3-20020a170906268300b007bd43e9d3abmr22806561ejc.52.1674507405094; Mon, 23 Jan 2023 12:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674507405; cv=none; d=google.com; s=arc-20160816; b=1FJ6aVpHx20k9xqvvoOSVp+LlBDw+Ljl10rVw3EGTca0mZP9ztqDcAsH4gnNeZs6lH ZQfzA4y3CGZ4sLhEAPBKzLAC5Z+6Rgamnf/dZzOIDimzpm/aHiYulyXYg4tbNE93ZUGy yWgFtNx88+C3mx7cYPAhSrrZiUz4f2CAqv2Y+Wvs6O5PI/OPi/U8ULHtET/K/SGK3hPh Qk0Swputw13ghKt1avFyY/rc5DQ2Ygv5ch020oblT4vumW5gYgT2h12LcOhLqcMu4x45 kawZlDDzEa8y5nSEmWvF3C2MwYiiq/XyRM5DGkKYzIOkfuUjCtuSEP61vLN3VFfDzEE7 DmJA== 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=vQy0qde/iCgz5Mbm3E6a6nzzNi5Psbj5h9Hi4kaO5Ys=; b=BQHvgjDy4X9ZmN+QaaDc3B/fub1A2DbGpOAEPWkj9tC/pzElLvVjpJdY1HGaf3piVd U1UlCGZ4wOsPe3f0PmkycceHZIRBoUmIYWiXOhsj4Zrq5BfjseCupkAflm8qvzqXJtdW 4sxrLZdGwL75IVIIuNOZBso24zQSJ5D6QUGHZwzShMNY3WasTNa/ieaoSzqON7z9MDeB 265++zvYohRRfUIExc38vjh8DuMb2D2dt4YyPE0dDoVdEhKllVcpGpehOGzUAWMrc/CD /PZTq65vWSoNSij6R6x+yKNUlkBme1RVh6k5XkXqW9z/AdIPMwQ0t/grgAA7Rz0NLiDT qWWA== 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 o16-20020a170906975000b0087783864543si18792935ejy.591.2023.01.23.12.56.18; Mon, 23 Jan 2023 12:56:45 -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 S231876AbjAWUyV (ORCPT + 99 others); Mon, 23 Jan 2023 15:54:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231848AbjAWUyH (ORCPT ); Mon, 23 Jan 2023 15:54:07 -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 8CFFF32E70 for ; Mon, 23 Jan 2023 12:54:06 -0800 (PST) Received: from ipservice-092-217-089-134.092.217.pools.vodafone-ip.de ([92.217.89.134] 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 1pK3pJ-0000Lk-Il; Mon, 23 Jan 2023 21:54:01 +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 08/23] staging: r8188eu: remove unused function parameter Date: Mon, 23 Jan 2023 21:53:27 +0100 Message-Id: <20230123205342.229589-9-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230123205342.229589-1-martin@kaiser.cx> References: <20230123205342.229589-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?1755848276959706553?= X-GMAIL-MSGID: =?utf-8?q?1755848276959706553?= The pxmitpriv parameter in function dequeue_one_xmitframe is not needed. It can be removed. 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 a431bffbccf2..aefd32b98d08 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -1355,7 +1355,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 tx_servq *ptxservq, struct __queue *pframe_queue) +static struct xmit_frame *dequeue_one_xmitframe(struct tx_servq *ptxservq, struct __queue *pframe_queue) { struct list_head *xmitframe_plist, *xmitframe_phead; struct xmit_frame *pxmitframe = NULL; @@ -1402,7 +1402,7 @@ struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, struct hw_xmi pframe_queue = &ptxservq->sta_pending; - pxmitframe = dequeue_one_xmitframe(pxmitpriv, ptxservq, pframe_queue); + pxmitframe = dequeue_one_xmitframe(ptxservq, pframe_queue); if (pxmitframe) { phwxmit->accnt--;