From patchwork Wed Jan 11 19:56:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 42163 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3508956wrt; Wed, 11 Jan 2023 11:57:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXuTQU6Va51zH9bWhenw9zZnl00ZZZ2PnW56gTksqTBi50NYxvraTJfztlqFz2Zrq8U05zQK X-Received: by 2002:a17:90a:28c4:b0:219:158d:61c2 with SMTP id f62-20020a17090a28c400b00219158d61c2mr76430575pjd.19.1673467070013; Wed, 11 Jan 2023 11:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467069; cv=none; d=google.com; s=arc-20160816; b=hoF+T8eFYH4o+ywiI5Ef0X/QXZ5moopTh4ECTjn+B3F/eg7BsiE/Xtv33RSl1VFWdB N53sREPlQV/OuzlHgQCK0/+skmTzgGXP81oh2LWcDk8O6lI+tzW+oRW1DyQ7IepBXZZU CCf/uMO/4UFzDKztIKzxt8kAF3n3VasTPmnPnJsFi8jTcsWztnOgpU3JbkrDTdKdfDdF +3KK+x7gxbP6n+DNOeKRZEU3pxnOzUiY+tiMjLigFFZP1jJD4pSSl/7MTrCTL/JPuFWX kUwPJAPTWdqTCOVwSupe0HIE+tSfMG0dqWVE0vyjwZQHB/5b7M1mWQcOdnkSq8KcWZqr 88gQ== 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=ueY5FU6qPARMxL12aNfuSbqydyMQjSFOFrehpVC4qwg=; b=eRvqcE+A3iLx60RVR54ub2/Piy45mUQ9xHLX88C9pcyuXkPjOsxPalJ8V7xH1MLrHk EyTNRDoq4nJKZujgMewA24FZuIVrfNY3p0Vz+JnEC876INLvyKYnjoyTxUtA5LlO0e0G FyC8ibP32sO/BFxvJajDU9odrARhmsTpDHBBUBOdhCKmVmNjKkG3mf8G5tu2qATAmhLu b97wZaRN+q3oqr7xH9KHfsRjPLLiulxa/9jylQ4dUXflDuAwxi2UpeQSVrbU3oJ21TkC ZXfzHZ7tutqymiGkUgZDp0oez1CpdW/3kR3W04agfsBisFXOpEzIJLOmAIpP8Oy+yuIN zMxw== 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 x3-20020a17090a8a8300b002265fe84432si14883594pjn.44.2023.01.11.11.57.37; Wed, 11 Jan 2023 11:57:49 -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 S235946AbjAKT5V (ORCPT + 99 others); Wed, 11 Jan 2023 14:57:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234769AbjAKT5B (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 40BD9183AA for ; Wed, 11 Jan 2023 11:57:00 -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 1pFhDS-0005F2-6H; Wed, 11 Jan 2023 20:56:54 +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 03/20] staging: r8188eu: remove ioreq function prototypes Date: Wed, 11 Jan 2023 20:56:23 +0100 Message-Id: <20230111195640.306748-4-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?1754757406350873684?= X-GMAIL-MSGID: =?utf-8?q?1754757406350873684?= Remove some prototypes for ioreq functions which are not present in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 18e95bccda49..1d65c60cbe27 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -227,14 +227,6 @@ void rtw_write_port_cancel(struct adapter *adapter); void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem); -/* ioreq */ -void ioreq_read8(struct adapter *adapter, u32 addr, u8 *pval); -void ioreq_read16(struct adapter *adapter, u32 addr, u16 *pval); -void ioreq_read32(struct adapter *adapter, u32 addr, u32 *pval); -void ioreq_write8(struct adapter *adapter, u32 addr, u8 val); -void ioreq_write16(struct adapter *adapter, u32 addr, u16 val); -void ioreq_write32(struct adapter *adapter, u32 addr, u32 val); - uint async_read8(struct adapter *adapter, u32 addr, u8 *pbuff, void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_req,