Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2489396ybx; Fri, 8 Nov 2019 05:08:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzOja/Jvg312VB8H72UqthyiaT6pmVIB2ykWgbF9+Gdt4zZySvc3Cju0e/LdkVQP3LiJOqp X-Received: by 2002:a1c:1fcc:: with SMTP id f195mr2945968wmf.137.1573218538802; Fri, 08 Nov 2019 05:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573218538; cv=none; d=google.com; s=arc-20160816; b=hoz+tBGaL/yCwo6RWdgStZHe/QYCiZKYlUjUFpYIclnDOjEcWaxY2mYi8M4ae7ES78 jxXWwJMpX/n7hcRgRslw8ITxvQljXiCSHbdfONzLdhgFVstMHxcrnZuM967fxHcEo3+j 4MgEZ7HJMq/l3gnch0ENh30MMeQgeZvkuhRoBzcYXqscf8avN3Bd7RXhv2ERstI3o5Hm Bg/ml66MoGE+XiUJyfOHx8fv7clZa1Z9BHV30Ebfo8Y25mOeiA3gYo0bPa8pj8RVn8Oe GJ/m6jq7LB8wyuRubdj/coQNyz1EHZArTxokGA0DVeJIJShwLjDgfmMkSAaXyybSd0p/ 4Kaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=td9IeMtAnKP3TNZfmfJvazvskLsY9wm2/Illqt7TzBU=; b=PqkSfi6lz3mqRI3XxKDAMnnWS7xJR+x6K3r13jnArmqBDM7n0qvJA4Xj5ci2+9Rosj Os/G17CoiDT+rBYuwKhh10KwLp9n0aMRaT25DtRiwLBRm34cmQbkn8M7Z4PYto8Nwabq 8TFpMbXiSEPlW2h8kgCL3liK0FjgqKshCwZcBUqmBHCYUvALvVBgf59YwTJhXc94cdyj ybqCSq/XojIWO2/vt52KIGGxV5IIQgSQIQ79J3AJ/5W7S/HwPCrrFDcH2YW1S1lsWhH4 HxrMteNk3GzFpf6sQT8C5PsL+UvmM3FPf8MUC3V9RMgQQ5UdFa+CwWIjB5Cqslhzn8AE HFfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=DMLQ9nUi; 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 c1si3901118eds.170.2019.11.08.05.08.35; Fri, 08 Nov 2019 05:08:58 -0800 (PST) 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=@rasmusvillemoes.dk header.s=google header.b=DMLQ9nUi; 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 S1728349AbfKHNEY (ORCPT + 99 others); Fri, 8 Nov 2019 08:04:24 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:32858 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727987AbfKHNBn (ORCPT ); Fri, 8 Nov 2019 08:01:43 -0500 Received: by mail-lj1-f196.google.com with SMTP id t5so6155678ljk.0 for ; Fri, 08 Nov 2019 05:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=td9IeMtAnKP3TNZfmfJvazvskLsY9wm2/Illqt7TzBU=; b=DMLQ9nUi/AbgTBbJ3HQVt3S0hzf3vXc00jBHDaFBntgkl2BTiXVwIDJ/98hlURH5xi Fs8QirI31MeGV4shgHaQ0WBywX4sGE+Pkg+PmRddhK4zvBzkMBVVR5DB3sKZ1o1xZ8k4 YkMCzlDg87IAVaAjLDSvANrSeF4AmSQ+EJgXM= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=td9IeMtAnKP3TNZfmfJvazvskLsY9wm2/Illqt7TzBU=; b=SPUchYyUUrtCVXKYsTQqtTIcNmhMHKOTRUV7NrJ86UobsqVMF9LHa7l0lDB46lkpIf 0fVhVAITzVEtYb1vYWwEj5OLkfAya9rTE8DJc8qygfTvR96K+Xa+eI8JRfse1GlNv2D1 q4DnfxD9CXRaXbevz2+PluwUyY6O4aFUx9L3HPl6LL1wMmG87yvPdvd6zn4BTV4gNbs6 uqgx8p7rag3tyaphtxc6ToXOQltDoE2b3wkOIWI5vPM5byZtLOHyhVxJZEY+kN/yUWcB QKeyFYHc83KjA8vlLz7XqhAou5Bh7iT0+qPk6M3fBtdA6qq5sHXmgCNP4hKJW7pa/EGR En4w== X-Gm-Message-State: APjAAAWlOZhi8Vm7wUieNXetdVIzMpf2LMFADQnAhPtKezrPF2ox1fQ6 WVBw4/nvPFD4j16OySaNzHXQ0w== X-Received: by 2002:a2e:9659:: with SMTP id z25mr6859818ljh.132.1573218099542; Fri, 08 Nov 2019 05:01:39 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id d28sm2454725lfn.33.2019.11.08.05.01.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2019 05:01:38 -0800 (PST) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Rasmus Villemoes Subject: [PATCH v4 09/47] soc: fsl: qe: drop assign-only high_active in qe_ic_init Date: Fri, 8 Nov 2019 14:00:45 +0100 Message-Id: <20191108130123.6839-10-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191108130123.6839-1-linux@rasmusvillemoes.dk> References: <20191108130123.6839-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org high_active is only assigned to but never used. Remove it. Signed-off-by: Rasmus Villemoes --- drivers/soc/fsl/qe/qe_ic.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_ic.c b/drivers/soc/fsl/qe/qe_ic.c index 8c874372416b..4b03060d8079 100644 --- a/drivers/soc/fsl/qe/qe_ic.c +++ b/drivers/soc/fsl/qe/qe_ic.c @@ -320,7 +320,7 @@ void __init qe_ic_init(struct device_node *node, unsigned int flags, { struct qe_ic *qe_ic; struct resource res; - u32 temp = 0, ret, high_active = 0; + u32 temp = 0, ret; ret = of_address_to_resource(node, 0, &res); if (ret) @@ -366,10 +366,8 @@ void __init qe_ic_init(struct device_node *node, unsigned int flags, temp |= CICR_GRTB; /* choose destination signal for highest priority interrupt */ - if (flags & QE_IC_HIGH_SIGNAL) { + if (flags & QE_IC_HIGH_SIGNAL) temp |= (SIGNAL_HIGH << CICR_HPIT_SHIFT); - high_active = 1; - } qe_ic_write(qe_ic->regs, QEIC_CICR, temp); -- 2.23.0