From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DEACC4321A for ; Tue, 11 Jun 2019 13:12:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3149320673 for ; Tue, 11 Jun 2019 13:12:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hQDeHBSA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="KCHvj3ZY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3149320673 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qOCRwKVsOOv58KJDmyvssgnIpgsijdXCoQTy/ugqn74=; b=hQDeHBSAKRQv00 FVmQgqYTd5XFGu+DrECCpx1VwPRYGrI1MFasfwKjh6YPpdmewk5aC7q07logAY+5DjxgGEVg/PhvO 8NKrJ+/qF/iGrAXvN/LEpEPIxYK5MGBTVnY34yS3n2WkX0MUyoDUIuOBYkgInAERTd05EHk6v1c5W kJG+0BxFXy0sGZBDoklaPk9NWbqZ5FF0ydPXU4QWLrQISn0PTzoyOAKdHNKn7e1+vms71BAhQgdV7 yLucDzDYq3sp/0K1H+CAKOWYzrz1C8dS5f2fMLRnJA2px7PTBiG6AVwTiFNsyfa11DRnc7HcRanoU CHxekLX12A0iJ2mfO12A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hagZy-0004C4-HA; Tue, 11 Jun 2019 13:12:46 +0000 Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hagZu-0004Aw-UL for linux-arm-kernel@lists.infradead.org; Tue, 11 Jun 2019 13:12:44 +0000 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)" 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-Disposition: inline In-Reply-To: <960D5667-41E7-47F3-9C0A-726CA919B82D@cisco.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190611_061243_138418_6BF082DE X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-aspeed@lists.ozlabs.org" , Andrew Jeffery , YueHaibing , "linux-kernel@vger.kernel.org" , "james.morse@arm.com" , Joel Stanley , Mauro Carvalho Chehab , "linux-arm-kernel@lists.infradead.org" , "linux-edac@vger.kernel.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel