Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1903693ybg; Thu, 30 Jul 2020 05:52:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFe6ks2Ily5kFQdiyEUDTrNoR4ir6weLjUNN+Di3mZrOyCGx57BGtXypnMozR/sUV9bW3m X-Received: by 2002:aa7:dc44:: with SMTP id g4mr2534326edu.273.1596113557578; Thu, 30 Jul 2020 05:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596113557; cv=none; d=google.com; s=arc-20160816; b=QSrhXq/oi723jt3ajcve4LvFcoGKUd75CK1EoMmyfpWbaKVg+JGPNsQ80Mwy7LeWT+ lMmzB+EhH4XQFTRvqjY4xhpQvSHVkvF5YmsOONOtiHeuA1CysE7piT6FwBQTWpYBng2h Jn6L1RGiJvtLQ96QKd6WwBa3WlBz7xMOAyViX510zBxPwbTg6hKY0ms1FfAYDK+ZKAKw Wz+rxikc8ySBeeR1bdC4Zs/EivHNEViQoZf2WnRwPE7cRtEkcHaS7+BmDI7sCwo0+34G tNkSNnQ7O6NYJQvLcZG1yDk/+RtLa9sfkZXejzKK5GCplW44MrCY4n8DHw6IICRw3jaT fJOA== 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:references :in-reply-to:cc:to:from; bh=WjTKd1/Mfw22t5eUK5u3Gk3Wf+RquGKTB3txuv3+dns=; b=1ALZ7/sPRl57ZKGZ/Vc66yLuM5i1FxM43wxDxismICXPop1vWeFWcgSVpF0ngz3F+f tKX1TrChoAjWvuDZ7a5griHdfQZkQ2qoeSi+lyZNwdX/H3z9iRlcsrfUqTDBF6mtjPrW H3oLChdZ5kJIUoEeIQkRAwCr14wS4hfajdGxp6cDswEhRVpjSzAHOSO3dxV9h1KWvMTo PkyScwsfSzyJAO/UXGySYZ0CwK9GfsR8ertkFYRQJK+ZXeucqdrtBmHLRDTx+1L4UFfM u4Y8uj9R/ofsrXLpGcuB5ZTcZ5oaRK/PzsyqdD9G170HKiHeNmr2aTWc/wiEtJcqZoPm aNag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si3386500ejs.414.2020.07.30.05.52.15; Thu, 30 Jul 2020 05:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728289AbgG3Muf (ORCPT + 99 others); Thu, 30 Jul 2020 08:50:35 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:49293 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgG3Mud (ORCPT ); Thu, 30 Jul 2020 08:50:33 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4BHVd31wkwz9sTS; Thu, 30 Jul 2020 22:50:30 +1000 (AEST) From: Michael Ellerman To: Alexey Kardashevskiy , Wei Yongjun , Hulk Robot , Michael Ellerman , Oliver O'Halloran Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <20200727171112.2781-1-weiyongjun1@huawei.com> References: <20200727171112.2781-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] powerpc/powernv/sriov: Remove unused but set variable 'phb' Message-Id: <159611328042.1601380.2744826699786899081.b4-ty@ellerman.id.au> Date: Thu, 30 Jul 2020 22:50:30 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jul 2020 01:11:12 +0800, Wei Yongjun wrote: > Gcc report warning as follows: > > arch/powerpc/platforms/powernv/pci-sriov.c:602:25: warning: > variable 'phb' set but not used [-Wunused-but-set-variable] > 602 | struct pnv_phb *phb; > | ^~~ > > [...] Applied to powerpc/next. [1/1] powerpc/powernv/sriov: Remove unused but set variable 'phb' https://git.kernel.org/powerpc/c/cf1ae052e073c7ef6cf1a783a6427f7228253bd3 cheers