Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1660740ybb; Thu, 26 Mar 2020 05:07:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvUTVfaKExgdFINt0pCKTVw/98sh5Cj0VgImWDCqfqp7LtfOmX2c55Pk4G+oj6aZuPtDULw X-Received: by 2002:aca:b441:: with SMTP id d62mr1555384oif.107.1585224463338; Thu, 26 Mar 2020 05:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585224463; cv=none; d=google.com; s=arc-20160816; b=DnnkWNqsUQ0/BpWX1993GnrCAy/5rH10yC8sXpwGzWL8Nu6pX6RWfr0ctvxfLfjZXb AO4TFlJCCw1G4PtWx4eaCgZeHgi2FWWTdObOaMcTP4mVQEnzLA0Ab3GYuwGiJiwLA+kJ TZnzufj9XePlq84FUnol6Pklv1rPBqjfXQuPJUmmxoF6pKg5WkyRtTucPhrsZ5IrSh7Z Mqwuy/ORCD8F1IZBw73yzav4gk3idkNy7fFtjxspdVfJztprwkKrEuu6+2N0b57oUkmH gy/6XXt3mqDS+HiOChTbOXC8KaqwNIipnghBXblEKdSCJ43YFFMftGCTIgcF6b+SworT Ltkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=J+JoHE3V7kxJyqONPU441aHr94FcJw6Czkihof1qd80=; b=gOhGfGHYzeN8JFANUAC0W0jtppxbVhDeAKf0oy5xgVK+a/n6LcLc+nzGNeF65aOCvx XTX5ZnfsDG4bRxmhNO4abPNeUmRpwx/WWcP4iACjxcqPkzR9k4Su867UaUDdFOmYi6cn 8kmPTskpufjmaFy75AUbONREQZMO4734ll17S1ILGhfIDEmSAMoVYKfvN+ymV7XOO/o3 R2iZiUi4SfDfYASvlCz+SWmcEb2kLHSS2Opo0Kk04T38p+p7rLKcjdLs0g07GlVRt7Y7 c8eq+Du/icTZ2F1JrdBhcc5QkpUDX1nsSUScZ39V9w57W4La2Q/q5DjaIz8IPDGHjUgb 9UAQ== 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 e19si1053319oti.126.2020.03.26.05.07.29; Thu, 26 Mar 2020 05:07:43 -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 S1728314AbgCZMGx (ORCPT + 99 others); Thu, 26 Mar 2020 08:06:53 -0400 Received: from ozlabs.org ([203.11.71.1]:37829 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728296AbgCZMGw (ORCPT ); Thu, 26 Mar 2020 08:06:52 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 48p3cp1sr7z9sSb; Thu, 26 Mar 2020 23:06:49 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 9475af081ec1fb6cc794a17ae90f2c01aa8a7993 In-Reply-To: <20200312140412.32373-1-chenzhou10@huawei.com> To: Chen Zhou , , , From: Michael Ellerman Cc: chenzhou10@huawei.com, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] PCI: rpaphp: remove set but not used variable 'value' Message-Id: <48p3cp1sr7z9sSb@ozlabs.org> Date: Thu, 26 Mar 2020 23:06:49 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-03-12 at 14:04:12 UTC, Chen Zhou wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/pci/hotplug/rpaphp_core.c: In function is_php_type: > drivers/pci/hotplug/rpaphp_core.c:291:16: warning: > variable value set but not used [-Wunused-but-set-variable] > > Reported-by: Hulk Robot > Signed-off-by: Chen Zhou Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/9475af081ec1fb6cc794a17ae90f2c01aa8a7993 cheers