Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751726AbdLIQ2f (ORCPT ); Sat, 9 Dec 2017 11:28:35 -0500 Received: from conssluserg-04.nifty.com ([210.131.2.83]:30397 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdLIQ23 (ORCPT ); Sat, 9 Dec 2017 11:28:29 -0500 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com vB9GSONf010480 X-Nifty-SrcIP: [209.85.217.169] X-Google-Smtp-Source: AGs4zMYCYOkBnIbEzpaoF6+B20UM297S7HYVtDG5Z2QqfT/nXZp6RYMuhs60bWZBsiAZupdcVmaMJAaI+bTKBuaqhxw= MIME-Version: 1.0 In-Reply-To: <1507170993-10458-1-git-send-email-ulfalizer@gmail.com> References: <1507170993-10458-1-git-send-email-ulfalizer@gmail.com> From: Masahiro Yamada Date: Sun, 10 Dec 2017 01:27:42 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: Remove menu_end_entry() To: Ulf Magnusson Cc: "Yann E. MORIN" , Linux Kbuild mailing list , Michal Marek , lacombar@gmail.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 32 2017-10-05 11:36 GMT+09:00 Ulf Magnusson : > menu_end_entry() is empty and completely unused as far as I can tell: > > $ git log -G menu_end_entry --oneline > a02f057 [PATCH] kconfig: improve error handling in the parser > 1da177e Linux-2.6.12-rc2 > > Last one is the initial Git commit, where menu_end_entry() is empty as > well. I couldn't find anything that redefined it on Google either. > > It might be a debugging helper for setting a breakpoint after each > config, menuconfig, and comment is parsed. IMO it hurts more than it > helps in that case by making the parsing code look more complicated at a > glance than it really is, and I suspect it doesn't get used much. > > Tested by running the Kconfiglib test suite, which indirectly verifies > that the .config files generated by the C implementation for each > defconfig file in the kernel stays the same. > > Signed-off-by: Ulf Magnusson > --- Removing menu_end_entry() should be OK, but it is tedious to sync *.y and *_shipped. I'd like to apply v2 (https://patchwork.kernel.org/patch/9992029/) on top of my patch (https://patchwork.kernel.org/patch/10103743/) -- Best Regards Masahiro Yamada