From patchwork Mon Aug 13 16:48:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 144035 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3304978ljj; Mon, 13 Aug 2018 09:50:41 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxZH+pORs4DDN2C8OnhzE5dVOkhGyUhBx29+NWscvQF+yEcv3v5wqbKOnUZVFfa6h+IT4dC X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11-v6mr16910334plb.1.1534179040909; Mon, 13 Aug 2018 09:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534179040; cv=none; d=google.com; s=arc-20160816; b=yImzrzLPwDjy4WQLkPF7JszKCxsxQ+oKL0NW+PuTTs64GKNyPHxXSQ0TTNJnjlZ2pR GON46vblRbFtxZmmY9CReAZ8cCvrZ0o2r1M7HIofvpHGNfF8dCnqfrLnwkmZRC882Jey TczWz7mxyet525YGSTrBEFpCkC4zRNfhfHt/CQHl0tigItKr/ulwXvl8rz9D8bJMzDv1 oGM1DQDbGND9ARODAM9zU8MPUoS6S6GXniR4X2m+WM5jQbO+HYrhVsDtYDKQekOalyBm v8ut8fGjv0EZ09sUSoryt31cd1inqh73YL95IXXFyWfGwaWmpqL+ofzSgX/7fmLYMSjq KA9A== 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 :arc-authentication-results; bh=5qhVpQ4BEq4n3wxqoBDGSfwfVZ8Sjm6luRF2+2zgXT4=; b=DfvGwZjE63HAw9EOe2/knPLSGB0dOhKbeOZxlkc2GQax7/uos24n8nxqdLLNnD3f++ v69ObgJffLa8G6VRDMq6E1xa3DCU7JK0LJ9p5tz1j9mAePPMX+nQX53/goJJq9plq4L6 lIJ/WMQjKxuSsTWnUggScXknEwi6aZzpFJFdGMzBzfmR86RP66wfyhH7u4fV9OQsgguv J0mXfRFR9LYSfqUu+r3zIq1IygAdj0DdBW8UL/I+nUK08H7cv+P6StgtlPvVYEMvkk0b spSgI2osKfwyvIfwXfZ/mMnM0jsf+nbUOycPNqqqmkVaBoLanNOaAWJEfCGiulZv0pxJ YYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qLUWnEGL; 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 p1-v6si19415755pfp.237.2018.08.13.09.50.40; Mon, 13 Aug 2018 09:50:40 -0700 (PDT) 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=qLUWnEGL; 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 S1730358AbeHMTdj (ORCPT + 31 others); Mon, 13 Aug 2018 15:33:39 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:41918 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730202AbeHMTdj (ORCPT ); Mon, 13 Aug 2018 15:33:39 -0400 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-08.nifty.com with ESMTP id w7DGmsvJ003842; Tue, 14 Aug 2018 01:48:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w7DGmsvJ003842 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1534178935; bh=5qhVpQ4BEq4n3wxqoBDGSfwfVZ8Sjm6luRF2+2zgXT4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qLUWnEGLcqQ2AzULwADgfOg4e8gEaclVV4tWO5UyTcimxNzmUalC0Z0CToDaPfERP Mdy3br/iouCcnj98YNERHhBXstMhgk6N2rkBjlSqKvh7YpLKszA56+KLKfhpF95G6J SgtgI5S10P0TZYw5RztREHoEUkvwoM0BP4TILo5ojatk2MJBHDfU+OLrzzfxAoFw9q OoWsna/CN+3XRp5rfNRDAzxoZZUBorgkaLYXZwOiZtbwZgMxPvepk5eZxdVjKUGWkY 1fGLrsa8yT/+7E79PRs5RyQk4ORVzt/7VMSdyVT2CkLgufiEAaDiTPf/vI8V7h47iC cD3XGv42GGnAA== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Michal Marek , Sam Ravnborg , Dirk Gouders , Ulf Magnusson , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] kconfig: remove P_ENV property type Date: Tue, 14 Aug 2018 01:48:39 +0900 Message-Id: <1534178919-8375-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534178919-8375-1-git-send-email-yamada.masahiro@socionext.com> References: <1534178919-8375-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 This property is not set by anyone since commit 104daea149c4 ("kconfig: reference environment variables directly and remove 'option env='"). Signed-off-by: Masahiro Yamada --- scripts/kconfig/expr.h | 1 - scripts/kconfig/qconf.cc | 1 - scripts/kconfig/symbol.c | 2 -- 3 files changed, 4 deletions(-) -- 2.7.4 diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 84a5199..7c329e1 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -185,7 +185,6 @@ enum prop_type { P_SELECT, /* select BAR */ P_IMPLY, /* imply BAR */ P_RANGE, /* range 7..100 (for a symbol) */ - P_ENV, /* value from environment variable */ P_SYMBOL, /* where a symbol is defined */ }; diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 62261b3..ef4310f 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1149,7 +1149,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym) case P_DEFAULT: case P_SELECT: case P_RANGE: - case P_ENV: debug += prop_get_type_name(prop->type); debug += ": "; expr_print(prop->expr, expr_print_help, &debug, E_NONE); diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 073d780..4ec8b1f 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -1289,8 +1289,6 @@ const char *prop_get_type_name(enum prop_type type) switch (type) { case P_PROMPT: return "prompt"; - case P_ENV: - return "env"; case P_COMMENT: return "comment"; case P_MENU: