Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp427264ybx; Fri, 1 Nov 2019 05:48:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGiW8+QjcP7GEtGSuRvu3EMqo/Bp+5FYsNS1DFnOXIg3LRv93XQBEHMCCwYN9xkGyRHilA X-Received: by 2002:a05:6402:1349:: with SMTP id y9mr12287029edw.74.1572612484967; Fri, 01 Nov 2019 05:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572612484; cv=none; d=google.com; s=arc-20160816; b=J26KtuFsNV/pxqtGtQaC40eC4InX8+3vYMxq5zbeQUtO1Gj3gGsKlQFzx3aZ4vuAbr Apxz2CTZ5q0s3QwYNcwl0v28m/E3+fci5cTV9OyK325H4DB6fm0yUScEmpR83Y21gjXM O48gNOKPE5kGReMrgmy9GgR2o6ouzaTfWZod48scMsv2eb2yOQEC2kAaSDKoarU0nFjB R3N4XXzLtYHfow//mesqvMU4jP0nQQoVj0r2e5nROcqDSLSXS0gjTTRPYkmdCJUbz7s1 FZkNWQ8Cd+ENVJgcGzKcBBiibc4Yeyrb05lpFWFAlI0XbbQRcN+GALH2L9x4TFcYh3eg Rx1w== 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=rhcxAO7zlVIexOG1BW4Z44/DmByiwpNBsUBXTnnQv+Pv/TVc6fUg7dX4aWYdVtm+ag 85iV40IWl4qxaT6XS5zdqVzV92qzKfzH1PlhHB+OOLxNLoM9hzLGJd7QljGyFyx3pWVI VO+bO5J65TFdE847gVW/kzWJKQ3F+n7OwHCYYguXOw3/AIJrMewOQ206C5mOuEtTxJC0 o/cRIc7A2ehyFps+82pXfNDyK7rf+vKAZlTQEx/cHsX2KGo+nWMk4KSjRsn2doBY0HBL goipLzwM7Ii8ajHmcbeduvzCeQGV5xIRWpiIHHYfMpzypji+vh2hLj312fbnoqmJm8Ek he0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=g0t9IWVb; 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 z16si278727edi.241.2019.11.01.05.47.42; Fri, 01 Nov 2019 05:48:04 -0700 (PDT) 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=g0t9IWVb; 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 S1730669AbfKAMma (ORCPT + 99 others); Fri, 1 Nov 2019 08:42:30 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43793 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730656AbfKAMm3 (ORCPT ); Fri, 1 Nov 2019 08:42:29 -0400 Received: by mail-lf1-f68.google.com with SMTP id j5so7132154lfh.10 for ; Fri, 01 Nov 2019 05:42:27 -0700 (PDT) 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=g0t9IWVbZwlbGUfe42OCviDf0Xj5nVyevQuGZEnMgLfjpAKphqtdzJEhNTgeJq19Rs 0QW0lur2U4C7+Hqd9TQsEODQMXwvLaOL7OhWWq8OKpNrwLsasSUx0ZC0CwR+VUcfXMhS UHtbeWLwVKEc0aDg0l5XldrFFe/FaIduB+JGM= 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=fADex9c+Lv4UowyAX9EDAiJ1AMNsC3tr9fL2T+WHDdGhWZjWYXJsOVzaqVCIrsiPJE YzrpK/Te1nlZmwoB8rMnz/l1v0Pd+j7nCxIdFehyIO2k9X3NfmomHoVly9Yg9kO1vnkz 6YHGJCiAnbe3q9hIUkqev5/Ei7BU0GGVf6hL36SYeLhIsMUWix9LEyXkp3g1UTZAlFp0 ZZfc66p/6H/9Mc2gcrI4Jc2nICkX4Rnii4xe0GQV9yvOMWKfPcx8c7RKfjtNJ4HP1Uv7 Io3YD6hdfC0ngOBFDTp9iCGHX25juyNF24nRlS35zpPJqGrQuIYo5Pu5FPaDAUhnQpMK Dsmw== X-Gm-Message-State: APjAAAXksG+xyfm/kyOnG8sSozWsuugp/nByKX2bQ0UR7DQN9ugA8Vjl u2RB2EQFdEzJJLOvf5lzvRAQZw== X-Received: by 2002:ac2:5967:: with SMTP id h7mr6973677lfp.119.1572612146522; Fri, 01 Nov 2019 05:42:26 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id o26sm2458540lfi.57.2019.11.01.05.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 05:42:26 -0700 (PDT) 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 v3 09/36] soc: fsl: qe: drop assign-only high_active in qe_ic_init Date: Fri, 1 Nov 2019 13:41:43 +0100 Message-Id: <20191101124210.14510-10-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191101124210.14510-1-linux@rasmusvillemoes.dk> References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191101124210.14510-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