Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1789275lqo; Sat, 18 May 2024 21:24:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSvrB5wZh5f0IPknGb9jVkuX+wRYHdEtsy6oDHAflpfSaHUsiF74gzQ+N/jcr4juJG/cPMYf5KWKLMw/QJ9SH3Vc7+BR99k5OoEhua0w== X-Google-Smtp-Source: AGHT+IG+VutcVq/PIP9Kk+nIaetwXdJTdArq5NjCsrkhAizGoXOXkIIt0yiEe705nJfYsg4vy95h X-Received: by 2002:a05:6214:2c06:b0:6a0:c931:d08e with SMTP id 6a1803df08f44-6a16820d6d6mr277164896d6.30.1716092681962; Sat, 18 May 2024 21:24:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716092681; cv=pass; d=google.com; s=arc-20160816; b=plknJlA4s8SRuXUFojKHIH246Kiz44gNMPI3boqmiIe67L0oiYm+1s0VUThG5+dQZB lB9mP+PcL8FKM/cHXmiBB5D3/tWzR/rSTR/sa9QvQ9wIfUQuaAexPnds+lPtyn3OR+I0 Ebfhw1zfI28AhX+3xu+2pKAGvVKHajgRAxTTF+cO2/fvP4ZrEEWX9swVkG/zdGo4cHh5 pQ4GR7siVcV6RaBKs1TpPoCYuAIfAwlEhsO1bnm2np1s/kltb0LKV8qudC0sVPnSU8YE 1dUlSNyid1/HDcsnWZzp4taLxjmWvPnbdg3atnfNc7bM8D11MUiH7B4tltcgdkuhCRqJ Cg7g== 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=RC6G4X8VNsoKPaE3/l+N008oFCCE1TxunZhn4l+zTRQ=; fh=oQbvuNnOUeIuBT5siQdg+euUHNNdn+CeEwAg69/1RSo=; b=GrEE8r4GB9FW0euRNtlvxaHA+tIQwCeIj4/BJkrVVClGIQ+xAgSUOkGfhwtmSyPp17 4duojCkJ1piACuZvOw91NVnRn0TB4/mVMN37Ijfn0zd/f7vQMhHwQRr8c0TdHiHG+blU S2VbkAgq1mMK58Te3EyPQ+Xf668xHffX4WYElpyA/mDVyd2QwE5Hv+Bvou73hD0pNyFc 8HJEQ7QHAe4QnJFYE6WKIvGxy91uXdqvff786BFaCEPMSUMK9y2UqSy/l0koVBmjIlw4 Fgve5uSsvY5SJEe1t/JYgTSJpVu/4q6IkUBLrR3hFBUh5tygJIjStpDbm+pt4jG/S1oC Zcvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZgQS5qfb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183023-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-6a15f2b66e5si18307616d6.359.2024.05.18.21.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 21:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183023-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=ZgQS5qfb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183023-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 AB0271C20A4A for ; Sun, 19 May 2024 04:24:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29688CA6F; Sun, 19 May 2024 04:24:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZgQS5qfb" 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 360378825; Sun, 19 May 2024 04:24:34 +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=1716092675; cv=none; b=ZLU5YNL0eSOOH856Al7XVi5gqg0/uJr52NMnoR9MamKTcCg5fUIL+J99/YVBCrkJoK5g0NERHUY30/Ui1+8j9i2sectPbMpYipOHGiPbf5MQAcIjON0RmW0H9Lh+myrZ9Kkuy3hBVmYTTGZYohmrcg4aU8CWDUX3xHgWRr5H+uM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716092675; c=relaxed/simple; bh=m3JiPLIUD7+2vAOeZi6GdJd6y7HtLZ87bSDnlBm1tsw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=aXxWp8mC6eCvLdA6H30iK+Go+4TGbRZcuvY0ynr43rLcBxSZrRalNAXABldunajzSwzyA3TWlrR/Nl10jqngZ4YckGmsHPAoiFb52KDENztORX08uMz5dH4nFXQefWDMSgY1mSybn5874FH5II7GhCdslw3N2OKSr8RLQHFjthk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZgQS5qfb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B03A9C32781; Sun, 19 May 2024 04:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716092674; bh=m3JiPLIUD7+2vAOeZi6GdJd6y7HtLZ87bSDnlBm1tsw=; h=From:To:Cc:Subject:Date:From; b=ZgQS5qfbUAVmuAQ6DdGgwL8QOZJuTLb9Ktj9mar/Sd9W4XHpQtSGBbFaxzCJ2pzbc 25I5oDwGaNSCnRzwX0MZukyOVrnTg+b+pNCJ1wz97dHufhUrydn7W8m6UUD8iiRveF AtuXiyifxo3gjiS53mU6eelK6LoaR5VBLPDvQ05OHYu3SocQJByE5Ixc22H1y56hLv gG2OdDfii5psuS0sAxvrC1ri9/6dSP3/G38nHNp+pnTqRgbjU9iwan51yAY8F+edEv uCdL9A10kWuxafbgaNQXGsTVsgUn6+cB1dD9k33hd9xbZUva5CiGkmqBotwRyH+nsR NWceAz7igkhEg== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH] kconfig: remove unused expr_is_no() Date: Sun, 19 May 2024 13:24:30 +0900 Message-Id: <20240519042430.1612039-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 This has not been used since commit e911503085ae ("Kconfig: Remove bad inference rules expr_eliminate_dups2()"). Signed-off-by: Masahiro Yamada --- scripts/kconfig/expr.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 1f30e0538471..f039c1a4fbc1 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -298,11 +298,6 @@ static inline int expr_is_yes(struct expr *e) return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); } -static inline int expr_is_no(struct expr *e) -{ - return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); -} - #ifdef __cplusplus } #endif -- 2.40.1