From patchwork Wed Jan 11 19:56:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 42162 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3508919wrt; Wed, 11 Jan 2023 11:57:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+ypLTwia+Xx9Q8BqL5LIW1+L1d2L5JwGZKzYQzFi2HL/LYHOdimUEDnwjHGNvgAEF468C X-Received: by 2002:a17:90b:897:b0:226:3a7c:f248 with SMTP id bj23-20020a17090b089700b002263a7cf248mr3909338pjb.24.1673467063592; Wed, 11 Jan 2023 11:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467063; cv=none; d=google.com; s=arc-20160816; b=IuYh5yHr5Gd3Vu2qpDpORKELh15kUKAi8lF+QML9gdNGmoAmIZmo2boYVZ3fBFdwLo 0II45pFKiNfzeTf4hB16U6/R+Dj4AvHRvYGfIIFcqd8dkZxIWth2xSQa7p5Q+fgH/NJ2 z+7wO3+kRGrojzw23eZkNpoUv0dRfcdh2jSyfAHSILnOsyt+2tWklKAdFnmTr6B7Dx6w 8NRJWP0+h6p5gYcVzP5WOjSDaMpRO49h8jU/nYB+mjo2uuDex8aXyWng5W1gl4i+ABbT jFMzd37QMsSmPp79GIU60CIiKLAO7GIj02ehlyzj/FzqLXlPkkja+BcJ5WzbWAnpgBR7 G7HQ== 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=uqoM4D4j757o60NTOCAcn+aoO1rUB3HdCqsAgWJynIc=; b=Z+RuUu4JtCaVpTnSjkq+W/V2eJRMEJ0QP0wKjMN5OKoAZp4UVwg9fIP1EwEAKFWjlJ dxvtgHyLAyDomsf1uSvT/mF5f2OnqO7GPWQI57k6QmhVjl7+SCy5WYO0Wy5tM6bDv10U 3xp0nd+SCkwFEr5GjYTTmMwFNxAGLhNa7esxqICKsSgKRqV1c0FRuMpQJ1PTSaj/xUNt S7PbbVzbHhStWAPle63QV/WOLTwKLRygQPR8WS6C5yXOfGJU8bJcR7mn3JxtQfK4D6hc whMfT+vRyjAT/XNP8XBEI6deJG8r0vmXxp7gyBSbuUBN9QTJRKPXTB1OmbgsPXwHpx5P OZWg== 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 pc16-20020a17090b3b9000b002262767bde0si16205148pjb.116.2023.01.11.11.57.31; Wed, 11 Jan 2023 11:57:43 -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 S235566AbjAKT5O (ORCPT + 99 others); Wed, 11 Jan 2023 14:57:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234746AbjAKT5B (ORCPT ); Wed, 11 Jan 2023 14:57:01 -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 BCB12E020 for ; Wed, 11 Jan 2023 11:56:59 -0800 (PST) Received: from dslb-188-096-145-172.188.096.pools.vodafone-ip.de ([188.96.145.172] 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 1pFhDR-0005F2-DZ; Wed, 11 Jan 2023 20:56:53 +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 02/20] staging: r8188eu: remove io function prototypes Date: Wed, 11 Jan 2023 20:56:22 +0100 Message-Id: <20230111195640.306748-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230111195640.306748-1-martin@kaiser.cx> References: <20230111195640.306748-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?1754757399743346887?= X-GMAIL-MSGID: =?utf-8?q?1754757399743346887?= Remove some prototypes for io functions which are not present in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index c15b2e873fd5..18e95bccda49 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -203,12 +203,6 @@ struct io_queue { struct intf_hdl intf; }; -uint ioreq_flush(struct adapter *adapter, struct io_queue *ioqueue); -void sync_ioreq_enqueue(struct io_req *preq, struct io_queue *ioqueue); -uint sync_ioreq_flush(struct adapter *adapter, struct io_queue *ioqueue); -uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue); -struct io_req *alloc_ioreq(struct io_queue *pio_q); - uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl); void unregister_intf_hdl(struct intf_hdl *pintfhdl); @@ -273,11 +267,6 @@ void async_write32(struct adapter *adapter, u32 addr, u32 val, void async_write_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); void async_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); -uint alloc_io_queue(struct adapter *adapter); -void free_io_queue(struct adapter *adapter); -void async_bus_io(struct io_queue *pio_q); -void bus_sync_io(struct io_queue *pio_q); -u32 _ioreq2rwmem(struct io_queue *pio_q); void dev_power_down(struct adapter *Adapter, u8 bpwrup); #endif /* _RTL8711_IO_H_ */