Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp472933ybm; Wed, 22 May 2019 06:27:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx85RAkz1AbGt/DinSqkRodbDgokS8gWJSvLvyovBMKOdoQ4AUxol4o84J3ZDhg88VR0/G7 X-Received: by 2002:a62:4d03:: with SMTP id a3mr97695698pfb.2.1558531675022; Wed, 22 May 2019 06:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558531675; cv=none; d=google.com; s=arc-20160816; b=oLFQuuCZa7dsvtOpzkRAZeFM8JuJO5lCcQMHWMRKh5ZJyd6nBz4UgCmVzsQF5nmnGe UrFLmR2jfzwXPCTR5IZWg2c8I6Wc8sZ/qrVAWmmwvmUxpFApQvpvE/kuyNrBqWUn5UlP cvA2t1qpcdzTC5s8/LdigdsJ3gutfKYZ3wN9NJzr3IdkPZzg7q2oHYXLXX/k09gNvJ5V 5bA7NORw2E2iGWyYLVxis+6den3sxsmkAYNrhVxsRIdJWLYNQzptV9mlKg5g7CV1h5Vi AM4Q0TmDf5rpTUFXwx4PvIz5ibXGkGqQynzjld91bkSbmqeX7+YIRInng4au7jnmJQNH ZbVg== 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 d24si15333933plr.260.2019.05.22.06.27.40; Wed, 22 May 2019 06:27:55 -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 S1729765AbfEVNZt (ORCPT + 99 others); Wed, 22 May 2019 09:25:49 -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(-) 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) -- 2.11.0