Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp5072689ybn; Sat, 28 Sep 2019 12:47:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7j0kmm23He3qIJqqJMeANp3Tq+7bY+GeC23AVrmwET4bK83YV0QtXOWbYhyU2OUYUcPUu X-Received: by 2002:a05:6402:1e4:: with SMTP id i4mr11571315edy.31.1569700055878; Sat, 28 Sep 2019 12:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569700055; cv=none; d=google.com; s=arc-20160816; b=PJzDyj7X+fRsNzHhqJmqh6fGKUOQfQ2qYzUk8z/0euBeXMD++n4ygjnxhqKg2xKYDH UALJqQptBdbk4Yvhm9dZrKG158p2eltKR7RgkePb/0UN/OtEee3m4zHzZKCuUtYT6fOE XxiOBbYY2fL5JNyJpVD4Y5mIXyXlwWVBw71oO0UOWIOJr5khgZDeOa7f1b+e4bMOJYkq jv4cEcqAAeEZ6xE/WTeIV2/hNmtLzXDbWuCiMHQJ9iST553+Fv6onfL/VYahAscKMDWM MK9FGWiqyqY5T01tQx6JH4ZhsMFMKg8LZbxFRf339Exnn7KmBnMAsLy6+hA3BCEEoMzr eO1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=UH5WhTAR/l7Pt5juzfQnVfSLIW/YYr7ROIDu3JjaGT4=; b=b93LWJutYtW76e0mmkEAbA2KyOQ7oHpn9JXvZQWxsy0eCtVMko3zmp0DxA9I6GBEF6 ARamOFYQCOxbPapp+jSKpTAyecwsKHX2w1jV5INPNwhmnoFTHNMAe/0Dgi6m+dGyhsbn OzfkSAvb31y0gruhJi8MrvhyEUXxPmi93BusQTYkMoE/nStRwVl5Qv0F9vAnZWOswaa6 Ft1u9xVrCRtEragwoyabHDWhnh4yPTgOwkyG12LwybIQJSLBFF3XlnAph7tk+O9CAlLe 4RIKdS5LPtfRA15wiVJkFbi0jBPyzgmVGPWPTRQ9ZzS3OTRTQVmoC3XQmmqfr8SaVwTe dpqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h91si4256463edd.270.2019.09.28.12.47.11; Sat, 28 Sep 2019 12:47:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728666AbfI1TmZ (ORCPT + 99 others); Sat, 28 Sep 2019 15:42:25 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:33980 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726155AbfI1TmZ (ORCPT ); Sat, 28 Sep 2019 15:42:25 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.2) (envelope-from ) id 1iEIbe-0003MA-Lb; Sat, 28 Sep 2019 21:42:14 +0200 Message-ID: <45e9189be8c9d1be45a425af36547155d4007b5b.camel@sipsolutions.net> Subject: Re: [PATCH net v4 11/12] net: remove unnecessary variables and callback From: Johannes Berg To: Taehee Yoo , davem@davemloft.net, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, jakub.kicinski@netronome.com, j.vosburgh@gmail.com, vfalico@gmail.com, andy@greyhouse.net, jiri@resnulli.us, sd@queasysnail.net, roopa@cumulusnetworks.com, saeedm@mellanox.com, manishc@marvell.com, rahulv@marvell.com, kys@microsoft.com, haiyangz@microsoft.com, stephen@networkplumber.org, sashal@kernel.org, hare@suse.de, varun@chelsio.com, ubraun@linux.ibm.com, kgraul@linux.ibm.com, jay.vosburgh@canonical.com, schuffelen@google.com, bjorn@mork.no Date: Sat, 28 Sep 2019 21:42:13 +0200 In-Reply-To: <20190928164843.31800-12-ap420073@gmail.com> (sfid-20190928_185043_211407_3551A1BD) References: <20190928164843.31800-1-ap420073@gmail.com> <20190928164843.31800-12-ap420073@gmail.com> (sfid-20190928_185043_211407_3551A1BD) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, 2019-09-28 at 16:48 +0000, Taehee Yoo wrote: > This patch removes variables and callback these are related to the nested > device structure. > devices that can be nested have their own nest_level variable that > represents the depth of nested devices. > In the previous patch, new {lower/upper}_level variables are added and > they replace old private nest_level variable. > So, this patch removes all 'nest_level' variables. Ah, well, I see at least this patch also needs the nesting level tracked in the netdev, at least the "lower_level". johannes