Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4457331ybi; Tue, 11 Jun 2019 07:01:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyJG9dfG3FH7pmgAYlVOxdPiMpbHJDJpHbO7HDXoLn+9F8szLBbNodKFoFVrKhJpLTx3gM X-Received: by 2002:a17:902:8303:: with SMTP id bd3mr75914115plb.240.1560261712673; Tue, 11 Jun 2019 07:01:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560261712; cv=none; d=google.com; s=arc-20160816; b=fi7YnhL3wkF/7K7/oA8t6Dr4jmP6mKAFcotBPh/+UzhLVTxk1ASsYl2EXH/G+d/2HE NJf0Q1EmwE/97q1QoSXwIImmbCo4XPDz35aX7tJZBb9hIdGX1QJagFz/mx+fBGjM4ZrW 0hheDHimlb4/huDhkRxzDa3f+1acXpBqErrNQst7qLjKV5anGD2XvMH4GlTf5dFZPZiM UpUhpONIxg3SiF/6c6WPqKWPDNK1C/hgtZycpMqKpuuAtgzvSW7lSkgy3pcKmeECiNnx tXO6zxMAxjwfcDdiNhpUspxgVaPzYR4RMQACjJlu9GpNr5qyzO/jTPg5UFK+MMgRIX7n cTJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EJ7VR9sUEWWF+ZecbxZGX04se8PAYDXjUb4dY5s/kD8=; b=wwjkJXvV4y7OzYRlWCvk0dJ61rrflD/eMlFkOdoqUZDltsbTko2DrYLZJNTFbECwiD nsAg6Lvq0Oc9TGI0mZyj6iFwTluC68yqdeoRIiB1xYPyPOxDRAWajwNj+/8l7LkpZ1oG wrY6VkfYheRdxYvPbTwHzKKq3tXY7MIqvF33Lsz+oKFT4C6rp4ffu3DtC6yYBV99DlVK PMdQOJe2qr2tGx0oxLNcWPb8Y9JTT4+LKR8lfnbzlycBW27iXst18Pm+5VJakjtttOLT gpSWZtL3Cncs0yIEGTrj3i6Ocxapc/wD1ZCv7D9Cl0WZ2jDr0p2yOa6AKblk2dBw0DLr +Qfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KCHvj3ZY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si13473788pga.360.2019.06.11.07.01.35; Tue, 11 Jun 2019 07:01:52 -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=@alien8.de header.s=dkim header.b=KCHvj3ZY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390519AbfFKNMh (ORCPT + 99 others); Tue, 11 Jun 2019 09:12:37 -0400 Received: from mail.skyhub.de ([5.9.137.197]:48274 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389077AbfFKNMg (ORCPT ); Tue, 11 Jun 2019 09:12:36 -0400 Received: from zn.tnic (p200300EC2F0A6800DC92A88D55C2D513.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:6800:dc92:a88d:55c2:d513]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E82661EC0911; Tue, 11 Jun 2019 15:12:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1560258755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=EJ7VR9sUEWWF+ZecbxZGX04se8PAYDXjUb4dY5s/kD8=; b=KCHvj3ZYpkLfnoRKsXFvWYlmUSfvoaj1TEiKYWgNhqglSi/LYCDwov/V5k+8SIjqzvJoMI qIddH3YStkbgi4BPh7zrK+4/pIcOUOr/iFNHx27X3sBpwtEhkx8MCdrSE3yRUHWd8GXORE 2cxFoWi7Lw3vA5Z/gUeITH0YYX8UOo0= Date: Tue, 11 Jun 2019 15:12:29 +0200 From: Borislav Petkov To: "Stefan Schaeckeler (sschaeck)" Cc: Andrew Jeffery , YueHaibing , Mauro Carvalho Chehab , "james.morse@arm.com" , Joel Stanley , "linux-kernel@vger.kernel.org" , "linux-aspeed@lists.ozlabs.org" , "linux-edac@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH -next] EDAC: aspeed: Remove set but not used variable 'np' Message-ID: <20190611131229.GF31772@zn.tnic> References: <20190525144153.2028-1-yuehaibing@huawei.com> <04f103fb-54b1-4911-8164-44b20bfd1e72@www.fastmail.com> <960D5667-41E7-47F3-9C0A-726CA919B82D@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <960D5667-41E7-47F3-9C0A-726CA919B82D@cisco.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 29, 2019 at 03:10:54AM +0000, Stefan Schaeckeler (sschaeck) wrote: > On Tuesday, May 28, 2019 at 6:27 PM, Andrew Jeffery wrote: > > On Sun, 26 May 2019, at 00:12, YueHaibing wrote: > > > Fixes gcc '-Wunused-but-set-variable' warning: > > > > > > drivers/edac/aspeed_edac.c: In function aspeed_probe: > > > drivers/edac/aspeed_edac.c:284:22: warning: variable np set but not > > > used [-Wunused-but-set-variable] > > > > > > It is never used and can be removed. > > > > > > Signed-off-by: YueHaibing > > > > Reviewed-by: Andrew Jeffery > > Reviewed-by: Stefan Schaeckeler Applied, thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.