Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3563171rwo; Fri, 4 Aug 2023 06:52:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWWt6pF6ofRI48i2u/4YAFuCYWkHE71ec1aJTdvvL+8+Z6NF4K8eSE2dJU0KBsvZJ5h5Fa X-Received: by 2002:a17:906:ca:b0:994:47a5:a377 with SMTP id 10-20020a17090600ca00b0099447a5a377mr1543884eji.24.1691157143705; Fri, 04 Aug 2023 06:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691157143; cv=none; d=google.com; s=arc-20160816; b=gyRhMu7YqyKFB4nCFjMOT8LU2NV6LZskJYn1SrYmY2cs4Qb2VZzOLHENy4zxbl7OIq QWyJWRu0pYhaBTZI/hgESh4W8EV3TS64l5obRS1/reyphz2CEoNwNJbQHN93oiHYnnc0 CcvSDc7JfReVuhOxGmlqWYuKZUxETUtro4Ye7w1T1Jrhq0stg6skZuaEZTc9ddrvFdMJ qwNVuCsjyS8nPFUhTX9n6iYpHOpn6/eoTyPqnLzBxSX/vko4FQCwC8CMeDcXDw+kT/SX jlKwks8knCvCOACUiq0OWJSecbLqG1QGeBeQiG6A3zk+2VM0Hqc6zDM3+rE9XzEdkQcW h8cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=JaASvmsVPs504wh+JfzKOongKd1foJ1NuzYXkmMkX/Q=; fh=RInt2oJRj5AqFzGcmicnExjAdPPvGHnmAtR0pnjAI9E=; b=IJjbEMYTGLaf8BiCmCbizXg9tSh40T3ihXrQCG9bfw7T+pSLSfwkLWwmWauxFxmrNl MKu8Km8U2MSIz34oKeLrWSMlChAXrNHR9yK4ftJ9F+J2BS8UuPVW4zDgFESR3hLGruGX +i+ESis0UYsuhKyIPrhIrS+Nb09Wx3caXvM2TKZ7otZ+8oId3ctZ4L5hmbu9Xr4uFL5d zOg2GS4v5zRRRO9AoHcRCCqQQK1TSTVR1lLzbGLJuOL75l0T4Dyjceo++auul2jV7rjg I/fCRA1O+C2kupTT5nC8OR0w9j8RxsEksnin3qDSCpcA8TtvrcxbcoOrzy0GPytue7CA KRPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a170906529100b0098e1627c0e4si1923703ejm.777.2023.08.04.06.52.05; Fri, 04 Aug 2023 06:52:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjHDNju (ORCPT + 56 others); Fri, 4 Aug 2023 09:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231315AbjHDNja (ORCPT ); Fri, 4 Aug 2023 09:39:30 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4007849D8; Fri, 4 Aug 2023 06:39:21 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RHR8g0bVlztR79; Fri, 4 Aug 2023 21:17:39 +0800 (CST) Received: from [10.174.179.215] (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; Fri, 4 Aug 2023 21:21:02 +0800 Subject: Re: [PATCH] wifi: iw_handler.h: Remove unused declaration dev_get_wireless_info() To: Simon Horman CC: , , , , , , References: <20230803134248.42652-1-yuehaibing@huawei.com> From: Yue Haibing Message-ID: <57db587d-c845-5ff5-7b6d-c4196a105fb4@huawei.com> Date: Fri, 4 Aug 2023 21:21:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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-wireless@vger.kernel.org On 2023/8/4 2:03, Simon Horman wrote: > On Thu, Aug 03, 2023 at 09:42:48PM +0800, Yue Haibing wrote: >> 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 */ >> > > Hi Yue Haibing, > > I think you can remove the comment above and blank line below it too. > >> -/* 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 */ > > And work this into the comment above the to be deleted 'First :' comment. > Something like this: Thanks, will rework. > > /* > * Functions part of the Wireless Extensions (defined in net/core/wireless.c). > * These may be called by driver modules. > */ > >> >> /* Send a single event to user space */ >> -- >> 2.34.1 >> >> > . >