Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1291909pxm; Sat, 26 Feb 2022 10:49:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5o/ReUr02EMATFl82f4BhA3AGDwNkblnfW6t5GYA2aK052m5QzKqmVMNcVzM47jSN6LKh X-Received: by 2002:a05:6402:440b:b0:410:5fb4:7225 with SMTP id y11-20020a056402440b00b004105fb47225mr12227815eda.216.1645901342826; Sat, 26 Feb 2022 10:49:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645901342; cv=none; d=google.com; s=arc-20160816; b=qV90i7rDUv+NIG16MMSHzqh/M61QM5qd8cRxv9lrpEZF19SALNH2pGlDOHUpgwMKdm E67fQFOg14evVEAQ63xr7Ce9Of31LFSH0cmfhp0y2DzdguGdh4PiCjXxgO6RjKO9IrWY tFJ8cPirik8baQRD6dd5EZxahdYRNb+U8YODK2sQTeedZ3m24b+nLpDPgTTdgnuWEb+U 8aa7uV76cZGUCFckbbP/5iBcbDtkv7/TqTOtD46ny6+gGf0BVDGeRes3ovJIeGLwFPeO lpd5emmZKRdO5XpnA8T8eXGeQ0MSExRIVKXTtzaMZYzhc6Le/sMiMgL4d90mno2SGqf+ +bcA== 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=3jevlo4WGmfMdRnKzPFLdawWQNq9ctE8XQQOu9HKPys=; b=RHi0O11dr8UUG5bi7ZMqUodL8R5DJd8qZImL1U12ValNQEUPeUmZJtJb2kgfjTnUHE Gsdzxe7/ITOR4VU6Xlx83Qo7ESGiN3ObIOthE743Om0/NgVTFikIwukCJ4qrWNEmg8nj Ow98dUuyePUm5pGbnygWjZYX2oujfE0XxPUn6Iw8NlEh84P6/tgf4pu5Z26w/2U4UOcT HQgiccWe4QEKZ6o7hm3+0H7PuLO+BLx17HlYhcrqsYcY6S5iobj8IB6DLPsyyk/QqNnv ssXSUwNxEeMMG4S/tV4gVhuwkt0rMU8n768c42eCIwTzPQeuEveFiy11q5UYgQdUplrN CYAA== 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 f4-20020a1709063f4400b006ceb977d039si3434247ejj.308.2022.02.26.10.48.39; Sat, 26 Feb 2022 10:49:02 -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 S232623AbiBZSQQ (ORCPT + 99 others); Sat, 26 Feb 2022 13:16:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232304AbiBZSQH (ORCPT ); Sat, 26 Feb 2022 13:16: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 29144F65DB for ; Sat, 26 Feb 2022 10:15:32 -0800 (PST) Received: from ipservice-092-217-092-093.092.217.pools.vodafone-ip.de ([92.217.92.93] 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 1nO1bM-0001Cd-Ac; Sat, 26 Feb 2022 19:15:28 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Pavel Skripkin , Martin Kaiser Subject: [PATCH v2 6/7] staging: r8188eu: get_rx_status is not used Date: Sat, 26 Feb 2022 19:14:56 +0100 Message-Id: <20220226181457.1138035-7-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220226181457.1138035-1-martin@kaiser.cx> References: <20220226144843.1118951-1-martin@kaiser.cx> <20220226181457.1138035-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 Remove the unused function get_rx_status. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_recv.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_recv.h b/drivers/staging/r8188eu/include/rtw_recv.h index 25afcbe862e6..d2c1efbe62f0 100644 --- a/drivers/staging/r8188eu/include/rtw_recv.h +++ b/drivers/staging/r8188eu/include/rtw_recv.h @@ -281,11 +281,6 @@ static inline u8 *get_rxmem(struct recv_frame *precvframe) return precvframe->rx_head; } -static inline u8 *get_rx_status(struct recv_frame *precvframe) -{ - return get_rxmem(precvframe); -} - static inline u8 *recvframe_pull(struct recv_frame *precvframe, int sz) { /* rx_data += sz; move rx_data sz bytes hereafter */ -- 2.30.2