From patchwork Tue Dec 11 11:00:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 153441 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp477019ljp; Tue, 11 Dec 2018 03:03:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/UROfqRNrtR29qjKWeXUivZTJwP8wBgZVElGMXogQBkRAFby7kUAKimIrFjpG2HbYjucRzi X-Received: by 2002:a62:435a:: with SMTP id q87mr15640696pfa.109.1544526236129; Tue, 11 Dec 2018 03:03:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544526236; cv=none; d=google.com; s=arc-20160816; b=XqsLdpyhFuK7WVfH6TshncRn+MSH4xEFdVvNwF68LiHRX61cz2ILYfbAPl3nWimdVB ECgCF0eGFvEfGZ2Qj+DC+GzwLdzpWbl9wSgC6+p2qzU6oLY1e29eeb54qmlhpEU/KXWL Ix/2GZw7WfYunYnks+8cl3LOdhpMPr9SRT2chgwlOib1NZOa36o8RqbIR75h+NHNuLPj i9OASfouoBd7CRBJbuTTpbJxwwvcMdruuP3IFyO4WKmIFLXaXxB3TalXG2gAFoSi84h9 tonBd8kWW0lay9LQl6jHIukMLfhs95CMp9OjZJ4gMirKBKTKh0Tt0HRKl/LsorNA8Vcn zLbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=IcgexvJt38ljGJvWC/WL37DAl0lX6I5rv6Nx+cZ8BoY=; b=AzeasCJ1o+hjwLB/6GJpv46xKrGG+kpF8w4Hc2TKKiDT9CpGw57oOcIzvavRXB68Qy dOoUTl76DWXNDOWPQl9D/L5Zb7WfJntpmsRCNIJD0nZGi+QVJREYG8iAPyRlNwNG5pt/ rQU/LR3T67Hi9lp//0iZjm1WZyfrKT9CUtBaA7T53r8mbqsEaO2qXuDVAqpvaqsNgwP9 47QrIj3+cyFlamukzuG8OwusKGtAbLbKBfxQj3HcKxHC5zA1l2wsj5wZCdmPTykL+6wZ v7I6BPQfwIzjKMyxAH3ZC7VbRKsG4LjU9OSF1jkl4OvQ65L38G7P5ircD7hvz2I6K2lm mm+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=TpCMKpVQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 i12si11695666plt.213.2018.12.11.03.03.55; Tue, 11 Dec 2018 03:03:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=TpCMKpVQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbeLKLDw (ORCPT + 31 others); Tue, 11 Dec 2018 06:03:52 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:36640 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbeLKLBl (ORCPT ); Tue, 11 Dec 2018 06:01:41 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id wBBB1C5n017210; Tue, 11 Dec 2018 20:01:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com wBBB1C5n017210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544526081; bh=IcgexvJt38ljGJvWC/WL37DAl0lX6I5rv6Nx+cZ8BoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TpCMKpVQu6uoOgsl2+dJOlS6AOqf77CrWSP3g4VykvNco1bqMVvyZTWwEHXU7kYug DgRf8oEUZpP2RInI4I1ob1HQsSB83VwTE66RIvVeTUEZ56ugH9bj9CS0MLsJsCpT2n jwzyuXILeblIN9gZWBMBE6OB++8m7uLktDmsxF5kViY3PIIBWfJMHbzLu5+rsElxn4 ro9kpgV6Zb4UG646p4oxyXma4oWBxbARg23JGuUBDmQfiWc9AGHLREmeAJss1CsXdj Oss1IVYe9Zw7u7l4K15DcXMoqYIuHPKSiPX7e6J1t589bS5QrSRZht+4dsSN43hJ8m J3lVo0QNUW7+g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Ulf Magnusson , linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH 12/27] kconfig: remove redundant menu_block rule Date: Tue, 11 Dec 2018 20:00:55 +0900 Message-Id: <1544526070-16690-13-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> References: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code block surrounded by "menu" ... "endmenu" is stmt_list. Remove the redundant menu_block symbol entirely. Signed-off-by: Masahiro Yamada --- scripts/kconfig/zconf.y | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) -- 2.7.4 diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index dcbf643..eeb449b 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y @@ -354,14 +354,7 @@ menu_end: end } }; -menu_stmt: menu_entry menu_block menu_end -; - -menu_block: - /* empty */ - | menu_block common_stmt - | menu_block menu_stmt - | menu_block choice_stmt +menu_stmt: menu_entry stmt_list menu_end ; source_stmt: T_SOURCE prompt T_EOL