Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp448993lqo; Fri, 10 May 2024 05:10:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3Ccf1lssspawAdL14a7oXG/oE5vF1wNwqfMIMnBZgcor6LUbGfRpJ4falnrrphfeWDb/3V7H17cbAN7bJ8eAqalHNT9ACDSelP5LcuQ== X-Google-Smtp-Source: AGHT+IFQNwkxGAwLjdwlXSy7CxvPt6JQEkL+OpKxGzGqjpF0dnKfobPhxW7mPRD3zfsIlhPZhd/L X-Received: by 2002:a0c:cd8c:0:b0:6a0:f2e0:5070 with SMTP id 6a1803df08f44-6a15cc7d6f8mr82209946d6.21.1715343001830; Fri, 10 May 2024 05:10:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715343001; cv=pass; d=google.com; s=arc-20160816; b=xju5oj1jlNWifupO48a/LRNwKkn6quWy8+JlsXZWWd1kyRGsoO+PBowo56wpNTEqMB LKKPX8DQuKMNnYIpCXNOxepvKF96R6PIcIeaShrWZ0iQcCqnw2GSWjnJr1ydvlar8YXu wVIPIOEwQbJ+xwnnSu8aUhEJtwN2QGrQCd9reGk0jkKBnGM5C9+UOtBsjn08nZM7x5qt fZYx5wRmpRobXlwHgFgP2dWFrWW0R5SakO1nVS3qkZK5CBqp8GkoRtJlM35hzneCyxHn 45eEiL26uQhvMqPWkOKcfEUWSaCZeWgafe9D8NPAbkyLrlRVLsW9aWoSf0PyHZsYQl6Z jRcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ob5dwcfA/47DUTe+ZVvtfcIJRY1Y7i0vjFheMrGPvMw=; fh=oQbvuNnOUeIuBT5siQdg+euUHNNdn+CeEwAg69/1RSo=; b=CnGNS04Ee5aDY14nmucv5fDBd1MZViWIGNcFvznkEgb9S1zXQW7vvytzAQ7wQ5XCpe 0mZ8I1DRjKvySBRSWo8kINPrqa/pYvdOOngYoimd6LQFQA3sOeOjiEBge7TJE0RixhYe zBBW2SO8lB9j8D+wkrJhtUY9+pqO+FX+5+Sv8nu7wYoOPhfif3oLXh9GL+wkzGfaY0Nn Bp2W43KklCxDF9cXRqB431LFVn5r/eRAzQL9729YH0LNx4OS3u3+ZuMmscHpF+TFLQCf kbeCeXdbXN/mHDwF4iZ4j4uF1Rf4ERuzC4kSBfgLqFIIBxN/NrAz+gjNipJb/yA7i75L k4sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OobVJb8S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175765-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f3061e8si34524946d6.578.2024.05.10.05.10.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:10:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OobVJb8S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175765-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 172C81C213E4 for ; Fri, 10 May 2024 12:09:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 698BA16F26E; Fri, 10 May 2024 12:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OobVJb8S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 871D116D4C3; Fri, 10 May 2024 12:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342985; cv=none; b=B7bJwfztXzWO1F+pBBM5r5WUcHHrBV9bSIcgxSzDBNfY+JYAwJJWTg5/lRDsU/klYO7og585bidD6CD6ZEdVVMe/idGRm2ypUQypkU6ZhMyFmg6vWoBgVw7eKIsUXJRVty2cq+4m/7Se7FFKokgwK4GzghTEmZEionw922ywMAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342985; c=relaxed/simple; bh=yYbGGuXHC69tnZRsQ26tkM5twCaSKlBikoei7vmKgoo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UjhOdkYqp5+4U6YXU6nQzHFcQ/09ToYRAfKXtZFQDmT7r34HF8yHeuMrXnIRu64UclYOiJMpGX8MQROxO7xqGpzd++vHjC3A2S5qnvuXoNV37bHQb5xodTGw9/lreQS4HXdljWFuHP4WSOs1382cYZ4IZcGmPi7OsQAEgiGF3nc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OobVJb8S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F9F7C113CC; Fri, 10 May 2024 12:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715342985; bh=yYbGGuXHC69tnZRsQ26tkM5twCaSKlBikoei7vmKgoo=; h=From:To:Cc:Subject:Date:From; b=OobVJb8SiCSkhnTZQgL9wzbEVEhyU2U2xH+fZGvM3eXBHBR1sd7I+BvmeGe0a1ogQ md60rwaUyCSL+6z7XcGlkG7PGZ5sCA7lEcy+/ohz6AtXGcFyEeC++PROZwdflFAet8 qnk/lo9GKvPqPcKrAWtkCt7nEuaXL+C28NAtkouipA8MLH714waMbWmXQ6ym2ZjSjV CTs0qDcgAOGUu3g81+QZAak/JrtTtZhaqg4diEaqW+19rS9LY86hsXd3cMu4l8Sqn+ KRbA7zDyAA0WEtJJ5OMWRbkYpeS75FDc/auPwLKxy3Deku5OEU3z69q6Hi9UT5sUu1 fcqJ4fBaEtaqw== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH] kconfig: lxdialog: remove initialization with A_NORMAL Date: Fri, 10 May 2024 21:08:09 +0900 Message-Id: <20240510120809.2953797-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A_NORMAL is zero, so the attribute is set to the default A_NORMAL without explicit assignment. Signed-off-by: Masahiro Yamada --- scripts/kconfig/lxdialog/util.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/kconfig/lxdialog/util.c b/scripts/kconfig/lxdialog/util.c index f18e2a89f613..964139c87fcb 100644 --- a/scripts/kconfig/lxdialog/util.c +++ b/scripts/kconfig/lxdialog/util.c @@ -17,22 +17,13 @@ struct dialog_info dlg; static void set_mono_theme(void) { - dlg.screen.atr = A_NORMAL; - dlg.shadow.atr = A_NORMAL; - dlg.dialog.atr = A_NORMAL; dlg.title.atr = A_BOLD; - dlg.border.atr = A_NORMAL; dlg.button_active.atr = A_REVERSE; dlg.button_inactive.atr = A_DIM; dlg.button_key_active.atr = A_REVERSE; dlg.button_key_inactive.atr = A_BOLD; dlg.button_label_active.atr = A_REVERSE; - dlg.button_label_inactive.atr = A_NORMAL; - dlg.inputbox.atr = A_NORMAL; dlg.position_indicator.atr = A_BOLD; - dlg.menubox.atr = A_NORMAL; - dlg.menubox_border.atr = A_NORMAL; - dlg.item.atr = A_NORMAL; dlg.item_selected.atr = A_REVERSE; dlg.tag.atr = A_BOLD; dlg.tag_selected.atr = A_REVERSE; -- 2.40.1