From patchwork Thu Aug 3 13:42:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 13340056 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6D9FC04A6A for ; Thu, 3 Aug 2023 13:45:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236513AbjHCNpQ (ORCPT ); Thu, 3 Aug 2023 09:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236524AbjHCNoj (ORCPT ); Thu, 3 Aug 2023 09:44:39 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F9B213E; Thu, 3 Aug 2023 06:42:54 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RGqj50yKpzJrBM; Thu, 3 Aug 2023 21:40:09 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 3 Aug 2023 21:42:52 +0800 From: Yue Haibing To: , , , , , CC: , Subject: [PATCH] wifi: iw_handler.h: Remove unused declaration dev_get_wireless_info() Date: Thu, 3 Aug 2023 21:42:48 +0800 Message-ID: <20230803134248.42652-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Commit 556829657397 ("[NL80211]: add netlink interface to cfg80211") declared but never implemented this, remove it. Signed-off-by: Yue Haibing --- include/net/iw_handler.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h index d2ea5863eedc..99f46f521aa7 100644 --- a/include/net/iw_handler.h +++ b/include/net/iw_handler.h @@ -432,9 +432,6 @@ struct iw_public_data { /* First : function strictly used inside the kernel */ -/* Handle /proc/net/wireless, called in net/code/dev.c */ -int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length); - /* Second : functions that may be called by driver modules */ /* Send a single event to user space */