From patchwork Wed May 22 13:22:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 164835 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp861754ili; Wed, 22 May 2019 06:25:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyd4TiAob2khPVvLL1iBIjSedadCSOGAniOnKypn2sRpRvvMvpDK6qkdYODJgZ+XDbIrgFa X-Received: by 2002:a62:38d3:: with SMTP id f202mr50517936pfa.41.1558531551027; Wed, 22 May 2019 06:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558531551; cv=none; d=google.com; s=arc-20160816; b=BELGyM05n2VTat46KD97Gqea0dYgbb3bnagstcN2R+N38jxJrbdKectF8QKI8xFNL5 WYHQmbcSuBOll6Gy21hzyxz9PVGRkWp34DD3zVMV8qRMi7djeBVMTU4VQC26bcgvVvEN a9tb+Ony4A6GCdGZ4UCpDLkVGndPQRIxeOZthl9/Ir/KH1hEGVIQjlyrsPJbEULzf6xr z8H/CDYk17kC7s4dg00Mw0AoStyYsuokMvIZK4RBNt3LmO78U5KifPTu00khZ3s/0nSZ WUQCmwfhYcp/qWTasT9C4osqsdv8D4icm7MVxepZVj1ZowTWZQASYb3mV2bUvkWb+SJ8 7ANQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=1n3t5k6BJvLXCsEEs6lWKs7vnM9fpXZ5PtdBLSWB5oY=; b=b1eAFngsdmL7c5NZ8PruPkfJ2JB+6csoUSC/A/yTgKri+zk9OLHrwMj9DQ5S0AwTOF 3xfoc9ZfbmDQ2hwZDmVDOPLKXeygI/WlI4JvCZmSiHgzmGHj2x29H+PV+GQaXXwPFJ5R u0qee+e4PYVeTnkNQm6K01Zr45N4q715fBTobFtHuwtx90HwhkMlr+uPuhboW85nm/Ol NBQqLqgRTUCZ+v8Ise4VnsRuzwV4TvRMJ5j4wQXPLaDvAkxTkh1L4+MpWEi/miuQWFo4 ehYLmBQAnz3QNAmLATbRbe6Bopf2kRObiG/RfduA7n5qWeZ7QjveWuURruVEJMgxdRJl UJXQ== ARC-Authentication-Results: i=1; mx.google.com; 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 d2si25825471pln.43.2019.05.22.06.25.50; Wed, 22 May 2019 06:25:51 -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; 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 S1729769AbfEVNZu (ORCPT + 30 others); Wed, 22 May 2019 09:25:50 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51396 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729126AbfEVNZt (ORCPT ); Wed, 22 May 2019 09:25:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BC9D015BF; Wed, 22 May 2019 06:25:48 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 742E23F575; Wed, 22 May 2019 06:25:44 -0700 (PDT) From: Mark Rutland To: linux-kernel@vger.kernel.org, peterz@infradead.org, will.deacon@arm.com Cc: aou@eecs.berkeley.edu, arnd@arndb.de, bp@alien8.de, catalin.marinas@arm.com, davem@davemloft.net, fenghua.yu@intel.com, heiko.carstens@de.ibm.com, herbert@gondor.apana.org.au, ink@jurassic.park.msu.ru, jhogan@kernel.org, linux@armlinux.org.uk, mark.rutland@arm.com, mattst88@gmail.com, mingo@kernel.org, mpe@ellerman.id.au, palmer@sifive.com, paul.burton@mips.com, paulus@samba.org, ralf@linux-mips.org, rth@twiddle.net, stable@vger.kernel.org, tglx@linutronix.de, tony.luck@intel.com, vgupta@synopsys.com Subject: [PATCH 18/18] locking/atomic: s390/pci: remove redundant casts Date: Wed, 22 May 2019 14:22:50 +0100 Message-Id: <20190522132250.26499-19-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190522132250.26499-1-mark.rutland@arm.com> References: <20190522132250.26499-1-mark.rutland@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that atomic64_read() returns s64 consistently, we don't need to explicitly cast its return value. Drop the redundant casts. Signed-off-by: Mark Rutland Cc: Heiko Carstens Cc: Peter Zijlstra Cc: Will Deacon --- arch/s390/pci/pci_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 diff --git a/arch/s390/pci/pci_debug.c b/arch/s390/pci/pci_debug.c index 45eccf79e990..3408c0df3ebf 100644 --- a/arch/s390/pci/pci_debug.c +++ b/arch/s390/pci/pci_debug.c @@ -75,7 +75,7 @@ static void pci_sw_counter_show(struct seq_file *m) for (i = 0; i < ARRAY_SIZE(pci_sw_names); i++, counter++) seq_printf(m, "%26s:\t%llu\n", pci_sw_names[i], - (s64)atomic64_read(counter)); + atomic64_read(counter)); } static int pci_perf_show(struct seq_file *m, void *v)