From patchwork Wed Jan 11 19:56:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 42168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3509170wrt; Wed, 11 Jan 2023 11:58:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2bXd0XebqXtfZoneK19HeGBIIXxmzWAmdcOnFNqzZShn7QMGzJ1iXbv/gBv8CBlmXRwPc X-Received: by 2002:a17:902:e744:b0:194:45ed:2a6a with SMTP id p4-20020a170902e74400b0019445ed2a6amr7454264plf.67.1673467100052; Wed, 11 Jan 2023 11:58:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467100; cv=none; d=google.com; s=arc-20160816; b=q+2zFAiCMeP27mT6E6UymdNOPI3F/qWljNWHye8SseNLnCyWOEVncSiuqMIKg/zPcb y8HZ10THjQqzw6doHVa+1GTH8tDozB6+qBw78Vjn0Yw2bYhbP+uN1FdTeeAfRuq5FY3X jOvGZjzmEs0nBcWnB1KJXxnbJb+7o02EEWCue0ScIXWs9XJQlr6fvm0mC+OFGI3QTBLQ XHOk0DpJTFnxUgfJH5XS3MqrHPeq8cW9LXTBAdcL1tjdac0nfKVi7AXSeyMYWeWKNSzi tgYxVlSFwoQefyUwBfRm/iCtp4Wwy+P2cwIDKWLS6pofZYu2ZkiRKKxJObYf1Yw9y5L2 H00g== 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=JIomht/wGGdF2Tnsu4pxvnQsWc1+aQhxBW3b9WL60bY=; b=r1goLXMvgVUEARhXEbPoWPWpM49Cyt9vQvDeYdxDkgbG3F4p0QxC6ksrMuZ1pP35G5 Z2e3WUd/C6RcY6/opckzX0wt0LB5+LB1+CLgsKBEjudC40KOnLVW42aeY/3vU2M0kO2G oTXQETqb9gGgo6blZT284flnCGDl7TRkIWL6oTGwZMYbxvXMeXlA823KBxw1DKQdPN7y YpuzdIPm5BAK1o8rztkw3N6nzMHsggjrComA5sJ+JGp6hnD+kDl5w0BXRGBbth5nQcQA AkPLWmbFgG3kimo4og/1Qc/qBAx3EzvZs6p4P32axTXvuQbLHnGh+0Zlkq7gstMrRAnE dJ0A== 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 d12-20020a170902cecc00b00192833aba9bsi15684080plg.48.2023.01.11.11.58.08; Wed, 11 Jan 2023 11:58:20 -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 S239479AbjAKT5o (ORCPT + 99 others); Wed, 11 Jan 2023 14:57:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233899AbjAKT5C (ORCPT ); Wed, 11 Jan 2023 14:57:02 -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 DA2832BF for ; Wed, 11 Jan 2023 11:57:01 -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 1pFhDV-0005F2-3Z; Wed, 11 Jan 2023 20:56:57 +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 05/20] staging: r8188eu: remove async write function prototypes Date: Wed, 11 Jan 2023 20:56:25 +0100 Message-Id: <20230111195640.306748-6-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?1754757437666246611?= X-GMAIL-MSGID: =?utf-8?q?1754757437666246611?= Remove some prototypes for async write functions which are not present in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index f9394329b674..6ce099e91e20 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -227,22 +227,6 @@ void rtw_write_port_cancel(struct adapter *adapter); void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem); -void async_write8(struct adapter *adapter, u32 addr, u8 val, - void (*_async_io_callback)(struct adapter *padater, - struct io_req *pio_req, - u8 *cnxt), u8 *cnxt); -void async_write16(struct adapter *adapter, u32 addr, u16 val, - void (*_async_io_callback)(struct adapter *padater, - struct io_req *pio_req, - u8 *cnxt), u8 *cnxt); -void async_write32(struct adapter *adapter, u32 addr, u32 val, - void (*_async_io_callback)(struct adapter *padater, - struct io_req *pio_req, - u8 *cnxt), u8 *cnxt); - -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); - void dev_power_down(struct adapter *Adapter, u8 bpwrup); #endif /* _RTL8711_IO_H_ */