Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9961878rwl; Wed, 11 Jan 2023 12:26:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXtzhjbhXEEvA4DLhLaEiVcIxEC6JxUyR9u8bFdQEbqk6FkmfPD5yuy/ANW+VvjufI6zyXOs X-Received: by 2002:a17:903:1358:b0:193:d0f:5d68 with SMTP id jl24-20020a170903135800b001930d0f5d68mr19933729plb.25.1673468770181; Wed, 11 Jan 2023 12:26:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673468770; cv=none; d=google.com; s=arc-20160816; b=YsfokzbBBaHRRdavevS5V3z1feoE9MlHWIBTT2dlyX65z96WzSowQDOmcme7AaSim/ m0qDpTTO1xIY0xgEdoKnvIWXhU2vnpX9QYGjNJN2TlIzGw4D3Oaj+E05J/1tI10SDeva ZSUITQLDbqNMjw5uHLW65N6ioi+yolZ8+eyRh+5zkN/yqs3T/2jY3fM0OWtDzp0yYdLp rf49KRCImpBW2Z8B8Vvjunpwxvat8ihf+zNAVUpTzz8QGv9MorNJdrUt0RkALSY9Kymt bKkzRkKMZvBT+Lo3LYEPFlzsHKvz65MJLugBbNDjgdJoTAfg7jZct40yYstkDJZ4lNBI 7s7A== 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=8s1+5fEKjNqnjMDPj2LpUsFXsG5g0CUNgLkBBR+Sldc=; b=TgHyZ//yYI9ytqM0zNZpBxlfpQYugsqk7M1971WGTH7RaJYkarKk/USGhcu8qOt5ZD DTOXTp1B8Nzf0t0TVhSjICmTqwvtLDHtdeIs2tzv4nEt+b8QEByBfA2w5NxDBsxAJRm5 aC1UhxBe1MOSbV/zaYAkocBxF12jxPIJwaWRbyrzXgh/Kv6kZnIYPr3eaDfqR08sn76D AJVGye3dbeHUItt/WqkW4W1gV+IwQvo3F6MkSRztPIfKbjibuFhK1B2HwBykXmdUJAez 3zz4PkuAjiZP44YZdA2eVceZ8YxYJdfX7Tr2coPCUuUbpDaNJu8ZYMr4VpD3mwhru1tR Xk3g== 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 i5-20020a170902e48500b00179ec1d9eb4si13836481ple.112.2023.01.11.12.26.03; Wed, 11 Jan 2023 12:26:10 -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 S236094AbjAKT63 (ORCPT + 51 others); Wed, 11 Jan 2023 14:58:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235265AbjAKT5K (ORCPT ); Wed, 11 Jan 2023 14:57:10 -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 609F22BE6 for ; Wed, 11 Jan 2023 11:57:09 -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 1pFhDb-0005F2-Da; Wed, 11 Jan 2023 20:57:03 +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 13/20] staging: r8188eu: remove readmem and writemem prototypes Date: Wed, 11 Jan 2023 20:56:33 +0100 Message-Id: <20230111195640.306748-14-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: X-Mailing-List: linux-kernel@vger.kernel.org Remove the prototypes for the unused _rtw_read_mem and _rtw_write_mem functions. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index c9ddba66d852..95dd66c0be82 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -105,7 +105,6 @@ struct intf_hdl { 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); -void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); u32 rtw_read_port(struct adapter *adapter, u8 *pmem); void rtw_read_port_cancel(struct adapter *adapter); @@ -114,7 +113,6 @@ int rtw_write16(struct adapter *adapter, u32 addr, u16 val); int rtw_write32(struct adapter *adapter, u32 addr, u32 val); int rtw_writeN(struct adapter *adapter, u32 addr, u32 length, u8 *pdata); -void _rtw_write_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); void rtw_write_port_cancel(struct adapter *adapter); -- 2.30.2