From nobody Tue Feb 10 23:14:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1650998607; cv=none; d=zohomail.com; s=zohoarc; b=J9tkU+jq3BuIK+yMUe1SK57d2u9TwrbYetqSceP2C9zL+3xtD04QIHLC0/hSerC3yIaYIvTheMN5pnMCN7RSRJm0AdwWnDnjpPZvmR8NUHN6fqHi4fKAVbJszbuF4vZXskN+QDkD5DXFSOcuMOl/UkAevJd6H2R2wDdWEXejyPg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650998607; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=WDgeHzUdOULYKlRg869VIeEkdCFXvvv6jSBdC5RVE7o=; b=GoXHKJn/eD+zcphAxO3+6auoLjrDD2SssZ/taWO59Dp5S/oBMLL5MBkAUhJvfk/cZCj8HFuB2F2+fXR6ln0Z7A1nu6PzLVz+Ell3jCNxm32E5E22gtfMlIw5cL39AXHcQTuzNCBb2z9Qmn6aMXD8PAIvLV1gx+KlcfP43v0LqiQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1650998607246982.683068752273; Tue, 26 Apr 2022 11:43:27 -0700 (PDT) Received: from localhost ([::1]:39314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njQ9l-0005dX-Ls for importer@patchew.org; Tue, 26 Apr 2022 14:43:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njPmc-0002ck-NX for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:19:30 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:34332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njPma-0004QK-P6 for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:19:29 -0400 Received: by mail-pg1-x536.google.com with SMTP id z21so9083025pgj.1 for ; Tue, 26 Apr 2022 11:19:28 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id j7-20020a056a00130700b004b9f7cd94a4sm16482827pfu.56.2022.04.26.11.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 11:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WDgeHzUdOULYKlRg869VIeEkdCFXvvv6jSBdC5RVE7o=; b=OPPpJ95oBR+hnc38bznC0AoirOBDhlNwfwHvEoh1EqDxLGEi+fntxY1Iazj5lRlfOx mDBQfTw8brFMSt9QEi7c+vlazgph2Hfc2MYBT2gBl8CvcHzIwGEQwKzvYnxOveZtmrcQ Ll2F2DzuqtEW6O6GDOGNii0N42Wv8gxIcsOSnTqJwiV7kdJEy1ZT3jCoVKmWEAJR0507 XqW4v0dK16JeNK/p62VvPnoQ0WK7atvB7K1aoDyK/ZzI4+QeO52ktIJVrKDWhlG8rUuG ngx2+naM3AczDrOK0s+qz49lJWMYcL4dk3lF7RGKOTzLOgWAJ96vefOSyCWUZdoH8gzA Q4Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WDgeHzUdOULYKlRg869VIeEkdCFXvvv6jSBdC5RVE7o=; b=CGlJZloHN0MWfwohFZ2q4tATdcbqPTg8va5Pnc9ddkgofxuvbKK6Pp03cCx1JuRNbX dQA2Oy9vieefAXFYN8PnoAWvapAsU8f0HWfOZwCj4HNd/OgGE8hKdonzvOw3zpN2lOK+ Zh9vIX0cBDVOjw+QiTE8JPmPFEovu4bj1eUQv5dioDApOghse+48lh5abA6U56HBjzfw mcZ+dOi+Ti5hiBw+B37eq5ykxM3pQelbePZGE2rKcw6qvuefYJnjzpv3gcr0xIBHU3aB qzuezXIJ9y1aop6OWUDS++YXjgKu/3v4mjA/LXrg3/QIL7MfP47WZYXc1ycsr9xw4KH+ tSKg== X-Gm-Message-State: AOAM531tLgZK9EqA/1cJgm5Snjy0tJogG73Db3OkoRZ0LqNA+SZweYG0 2bBSJ4DTFrPAvh7X0CzdcXNQYtmtur0MpQ== X-Google-Smtp-Source: ABdhPJyS6bLQvTMM6+RCYubxmZSK39Txa7lDEGZUC5r0w1CSlkxY3ybkcI/KyahCzvY1tINUSPN1wg== X-Received: by 2002:a05:6a00:b92:b0:50d:440a:b9fd with SMTP id g18-20020a056a000b9200b0050d440ab9fdmr10474181pfj.31.1650997167528; Tue, 26 Apr 2022 11:19:27 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 21/68] target/nios2: Remove cpu_interrupts_enabled Date: Tue, 26 Apr 2022 11:18:20 -0700 Message-Id: <20220426181907.103691-22-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220426181907.103691-1-richard.henderson@linaro.org> References: <20220426181907.103691-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1650998608062100001 Content-Type: text/plain; charset="utf-8" This function is unused. The real computation of this value is located in nios2_cpu_exec_interrupt. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-Id: <20220421151735.31996-22-richard.henderson@linaro.org> --- target/nios2/cpu.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 7c48b3452f..6bd8367eb8 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -222,11 +222,6 @@ bool nios2_cpu_tlb_fill(CPUState *cs, vaddr address, i= nt size, bool probe, uintptr_t retaddr); #endif =20 -static inline int cpu_interrupts_enabled(CPUNios2State *env) -{ - return env->regs[CR_STATUS] & CR_STATUS_PIE; -} - typedef CPUNios2State CPUArchState; typedef Nios2CPU ArchCPU; =20 --=20 2.34.1