Message ID | 20230111195640.306748-8-martin@kaiser.cx |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3509238wrt; Wed, 11 Jan 2023 11:58:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFVC38+UDCRKhc0mQa29bOT9EJ3RW5flqr4yiyhFm9jA4ZjfRBSuijHpTGaTm6dL+skJgS X-Received: by 2002:a17:90b:94c:b0:228:d1d5:5468 with SMTP id dw12-20020a17090b094c00b00228d1d55468mr6730825pjb.25.1673467107777; Wed, 11 Jan 2023 11:58:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467107; cv=none; d=google.com; s=arc-20160816; b=0+yyj56SPm5oyw74FpfAoXG+D+0t6ZSXHY8tsbKCzTCpu+dTcZ/ATgUa1piBwT+KeZ X/lYO6e4RrnQl6v6r1nfutw4DOfA3eAC9FvwQKPk/WP0xN1sunKGzWnqvkEbtJcW7GUa pJUawjRZe6657Sh6bSws39I2M+IwA59G6cgRKW5+ZV7qUwPj2DE4VA4nsRRft0rD8XsU liuWWv6r9HP/am01jwvkrdmvFwsCIIXHlSG8Q3nZqG5leVX3J+GmMOf59AiVTEtgWw7o sY8DHl7YdawDWQcdX3rkcqvxEDfdkM5t3P5ANTxnyk8tgPzEEQs1yDKs6GOJdxLNdhd/ 6EQA== 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=8vI3yCOU1lhLeI4e4r28PvdzZAd7jthMEFxR5hnshGo=; b=GiIWSwmEhDZGsllwhHUXWMs4LM9rG5+E3G/gftHEJ8R2vuWbMJeHaIZkO44n/szrzo X+2JeBwNvvE1YytImsGlLkPwsobQVXeuQ1hE6ihi1rVhB985lZslL6nl+2NN3UaZqUNW 3P7nbeZkd0JdYkX20LNjZpSqAhypt0KSBZT9BnTXkv8B+2pND+lfTnT1/k6x9R6Uqd8W 44NDt+aDpKpVfF/univDqjJp4KdlBMw/JHGET8qdLOImU1IwwODkdPq2Z+kpvXtb7H9h UB0zz7ea3ajbHnYHedO2WsWK+itqbz+qyiKT1QCUuyR1X7DF+Y3I2srvoI9pLnNxGXQh dhPQ== 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 k14-20020a17090a590e00b002262f38c314si14203648pji.120.2023.01.11.11.58.16; Wed, 11 Jan 2023 11:58:27 -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 S239549AbjAKT5r (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Wed, 11 Jan 2023 14:57:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232580AbjAKT5D (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Jan 2023 14:57:03 -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 3DCFBB73 for <linux-kernel@vger.kernel.org>; Wed, 11 Jan 2023 11:57:03 -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 <martin@kaiser.cx>) id 1pFhDW-0005F2-NW; Wed, 11 Jan 2023 20:56:58 +0100 From: Martin Kaiser <martin@kaiser.cx> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Michael Straube <straube.linux@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> Subject: [PATCH 07/20] staging: r8188eu: remove attrib function prototypes Date: Wed, 11 Jan 2023 20:56:27 +0100 Message-Id: <20230111195640.306748-8-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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754757445706808483?= X-GMAIL-MSGID: =?utf-8?q?1754757445706808483?= |
Series |
staging: r8188eu: io cleanup
|
|
Commit Message
Martin Kaiser
Jan. 11, 2023, 7:56 p.m. UTC
Remove the prototypes for attrib read and write functions which are not
present in the r8188eu driver.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/include/rtw_io.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 7d1f3cc20b57..9cf4f233ae60 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -190,9 +190,6 @@ struct reg_protocol_wt { uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl); void unregister_intf_hdl(struct intf_hdl *pintfhdl); -void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); -void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); - int __must_check rtw_read8(struct adapter *adapter, u32 addr, u8 *data); int __must_check rtw_read16(struct adapter *adapter, u32 addr, u16 *data); int __must_check rtw_read32(struct adapter *adapter, u32 addr, u32 *data);