From patchwork Thu Oct 3 17:25:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Walch X-Patchwork-Id: 2985011 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EEC7C9F289 for ; Thu, 3 Oct 2013 17:28:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E2E120306 for ; Thu, 3 Oct 2013 17:28:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 33009202EB for ; Thu, 3 Oct 2013 17:28:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754531Ab3JCR16 (ORCPT ); Thu, 3 Oct 2013 13:27:58 -0400 Received: from mout.web.de ([212.227.15.4]:53447 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569Ab3JCR0a (ORCPT ); Thu, 3 Oct 2013 13:26:30 -0400 Received: from tacticalops.localnet ([95.112.171.46]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MYO5B-1VNA5y1VjN-00V9yN for ; Thu, 03 Oct 2013 19:26:29 +0200 From: Martin Walch To: linux-kbuild@vger.kernel.org Cc: Michal Marek , Arve =?ISO-8859-1?Q?Hj=F8nnev=E5g?= , Jiri Kosina , "Yann E. MORIN" , Benjamin Poirier , Dirk Gouders , Wang YanQing , Andrew Morton , Jean Delvare , Kees Cook , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] kconfig: remove unused definition from scanner Date: Thu, 03 Oct 2013 19:25:43 +0200 Message-ID: <6919090.x7HmALeZ5D@tacticalops> User-Agent: KMail/4.11.1 (Linux/3.10.7-gentoo-r1-gnu; KDE/4.11.1; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:9duoQ5k8eI0B6TNaYeKs0fdFX1D6EaYyRuhPaBvy9OjJk3fngKr F4diwr6hPoTpwFo/RzNddhNSqYNZ6/9hOECgkruXxAqygIZgkGTv/F3xdcaXTYlbVWCQMNI V3wakFJiFXVCX44sct8rMu/FGu9w+bL4Osq3ike+USHNOQ5vs+L7sIRcXXRv4wQi0x+QMrM Rd3LENVB/lu/qGNBQc6Ow== Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Martin Walch Date: Thu, 3 Oct 2013 18:33:47 +0200 Subject: [PATCH v2 4/5] kconfig: remove unused definition from scanner The definition ws [ \n\t] is not used anywhere. Drop it to avoid confusion. As it is a dead definition, any changes in the resulting code generated by flex would be surprising (actually testing this showed that there are really no changes). So, there is no need to touch the existing zconf.lex.c_shipped. Signed-off-by: Martin Walch --- scripts/kconfig/zconf.l | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index 6555a47..1a9f53e 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l @@ -68,7 +68,6 @@ static void alloc_string(const char *str, int size) } %} -ws [ \n\t] n [A-Za-z0-9_] %%