From patchwork Wed Jan 11 19:56:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 42172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3509423wrt; Wed, 11 Jan 2023 11:58:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWjayaRLIuXUO8JGTE5tzVwOOTgTdtdXD2ZfK3SPxq5fgbbilnQZYgoAgjpzMLY+UUvcba X-Received: by 2002:a17:906:fcc8:b0:863:e38b:5b0a with SMTP id qx8-20020a170906fcc800b00863e38b5b0amr819399ejb.65.1673467139242; Wed, 11 Jan 2023 11:58:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467139; cv=none; d=google.com; s=arc-20160816; b=fRcB+7ifrbS+j5FZfoxDvVfFuxiUnAoxijXzQpxU1HbrPa0G0BpUpyE7XtNJoFkvpP MO2oL1ZY17msPkBXjH166oH37umLzd249wUZm81KxS80bJA82GzoBl+ejslYRIx7UVqd i6eM/hlV72Z7lrH9kU41VHUbcwcgDOE0nEpSHGnl8J2iAZuvv09E60oozE8JbODTiYiD OtV+4IlCoXceQatQwbuzgTcSLjMIT8mEU8zeDckXaCJTmbYGOKyCc0PBn7OSIA8zf8Fw 3SRftknpDjeJp1XHhT5ZeX7kBDXkVbgTJvF9sPBDOGgHrvvh9kEs5MQYPmgdvBAAq1R7 QBrg== 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=yjH/mQ/FeH2J2pJl8q3lV5AJDQgelrSOqI+C7ecaHsM=; b=uCvsmwY5juPySxIn8F8dizF89iV0Pa1jBkfrFs4xFwsfRetCRcyDozagsOrbIX8qZ6 wNnmVN3Az5Up4pCmlc52aisdUxri/AINLqh3e/m8bl9A+GLCXj6tEelIEkqjSTvupO/E 9fD31uLCkiLZNxvGcbohZRMjhBqyypZgpkppwr2Z59MMCtkuYWVGIbkd31PrD68yE44o lslNXZJdAiMJHHNHxdL0U8jHZ90QTlX/SnBFMSgFlq4KIQK5rUqsrH8DHXDaJJGKQxa3 Xwf8CLlgsY5cVqrA1nojXHfxpSnYPofpgS6E9OCCebCRk4dQp5enM7IPsjAW/ZbixbQT JQtA== 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 ne11-20020a1709077b8b00b007ac2daa0b49si5378368ejc.367.2023.01.11.11.58.33; Wed, 11 Jan 2023 11:58:59 -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 S235772AbjAKT6I (ORCPT + 99 others); Wed, 11 Jan 2023 14:58:08 -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 S235030AbjAKT5K (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 326046149 for ; Wed, 11 Jan 2023 11:57:07 -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 1pFhDa-0005F2-KU; Wed, 11 Jan 2023 20:57:02 +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 12/20] staging: r8188eu: remove interface handler prototypes Date: Wed, 11 Jan 2023 20:56:32 +0100 Message-Id: <20230111195640.306748-13-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?1754757478938820944?= X-GMAIL-MSGID: =?utf-8?q?1754757478938820944?= Remove prototypes for interface handler functions. They are not used by the r8188eu driver. Signed-off-by: Martin Kaiser --- 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 ae290a18e593..c9ddba66d852 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -102,9 +102,6 @@ struct intf_hdl { struct dvobj_priv *pintf_dev; }; -uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl); -void unregister_intf_hdl(struct intf_hdl *pintfhdl); - 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);