From patchwork Mon Aug 31 06:52:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Denis Efremov (Oracle)" X-Patchwork-Id: 11745573 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B4597913 for ; Mon, 31 Aug 2020 06:52:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A935208A9 for ; Mon, 31 Aug 2020 06:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725829AbgHaGwh (ORCPT ); Mon, 31 Aug 2020 02:52:37 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:40007 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgHaGwd (ORCPT ); Mon, 31 Aug 2020 02:52:33 -0400 Received: by mail-lj1-f195.google.com with SMTP id s205so879941lja.7; Sun, 30 Aug 2020 23:52:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E8usTZGUCwzdko3c/cxOzexiS1sGTsVl4kgtGbj2TRE=; b=RLn15YqHBIir3kMpLdSF7jhvjMl0SW+vcdg5V25pA91r8cmg4AiIB9L0JPGjhRZoNJ JlR/gkbEfO6xLTqRTD1ZhxQEYfmR7uZGDY7fOLoQjltjpCifJ9KmpVFvieHdUKMYgKfP V7CyVmrjpVvV2NvjpZiaUoeFAYjITWNSvkU6ynHl4TRxBsjzxn0HcWUZhRafwVJBOSkj t1XvU+N764f1Q/BHgnkZ1S+7EGFLFS4u55pruy41DQ5cRB0RUS9vgDNEBqmXLzSO1qJ9 mM3cpLrhBf5OD+xtPotfP3a1Nm3pXclxdgE/76kXggnsjxp5mxi13/IRG+NzlVNABb4F FO5Q== X-Gm-Message-State: AOAM5328U34a8Y7o5Q/Dr6Z5HdEMQtWxRjyvQCYBSMVS9akfuF+lebn/ wCsi6YGd6EM/kVl5ofqVQEt7I+KVF1o= X-Google-Smtp-Source: ABdhPJwITHw0zG0/JCk/IApZuzswgGza/9V8RS4t/BGPO1wNzDWNI80bynwD2/xEdc88d9c7pWQ/hQ== X-Received: by 2002:a2e:5c5:: with SMTP id 188mr4300250ljf.466.1598856751510; Sun, 30 Aug 2020 23:52:31 -0700 (PDT) Received: from localhost.localdomain ([213.87.147.111]) by smtp.googlemail.com with ESMTPSA id q20sm1367472ljj.42.2020.08.30.23.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Aug 2020 23:52:30 -0700 (PDT) From: Denis Efremov To: Masahiro Yamada Cc: Denis Efremov , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kconfig: remove redundant assignment prompt = prompt Date: Mon, 31 Aug 2020 09:52:23 +0300 Message-Id: <20200831065223.6304-1-efremov@linux.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Semi-automatic removing of localization macros changed the line from "prompt = _(prompt);" to "prompt = prompt;". Drop the reduntand assignment. Fixes: 694c49a7c01c ("kconfig: drop localization support") Signed-off-by: Denis Efremov --- scripts/kconfig/nconf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index daf1c1506ec4..e0f965529166 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c @@ -755,7 +755,6 @@ static void build_conf(struct menu *menu) switch (ptype) { case P_MENU: child_count++; - prompt = prompt; if (single_menu_mode) { item_make(menu, 'm', "%s%*c%s",