Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp350766ybk; Wed, 13 May 2020 01:44:53 -0700 (PDT) X-Google-Smtp-Source: APiQypI+aqJH+wW1mLI+BbdVmydcfijVOtJ+eGR3vAH5F+qD0knHO3m0KAowSH38nTE5PnQly02N X-Received: by 2002:a50:a883:: with SMTP id k3mr20985092edc.198.1589359493216; Wed, 13 May 2020 01:44:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589359493; cv=none; d=google.com; s=arc-20160816; b=Bs9jus/jnNqPY2r9KPQflQb5XYnPmWS9cLF5MMjXFjHS51BuJ0nH6W0knmIBYbPSQH vUfkf88LnzFPYQuiiL+9TAvgtswUmOS5FRLMylrlRaxRCL8JltCa5/BTgwMCNeIU9MYO eO1dygsu5ehWX3va1vohcpI7xCSVgIYYkrNfj5p1SHSZJTAKj3/kXXbk5pI9dRsFtV5K G4KpNxCKiRI9OSCI405REK29c1+yLMpWyHg4aIGk1T3JfuTevBMD7kxqzmGxwl6Gbb4c ocE630a8TMQBuN9up+UKxszrXQfqTbkAjKxVnU5lBzMKsWjAk6DWNhAdSoWotvpfRi0E LRXw== 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; bh=Qb998kQaFNhLjzrJ3bgKE++SeGwlYiRQ2uBZEZuumVg=; b=dKKAYZGf2dFHJ1CincqMuvWsaxezzsr5TaX82ZYqzDjnoKUpAdA2u4M9DHiU36J3HN v5RAMT8iaWgLgUM7Dfrk7Zv1iYGnlNwh9y3vPskBGm7cBtTtph2zkk/h46JgvtKkcI4f 1uJM2xjhnoGN6OHLsrbmKueXWyy0V35E2SpSgrEXw4MnLyg80x/sBaCbk7mRhGkc0txs jJUR4lROzBbeOxfKAft7jMGXFt5zPAYrUd1+9L7mbqlnem3olvG+qnGqROzOpoL9b6zo 962mhTMTuCO4mk65TFX44vv8PpjF7GNM3QK1pm6Df42687yFptEFSlFfOgQpreQ+98M2 SapQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si9140222ejo.379.2020.05.13.01.44.29; Wed, 13 May 2020 01:44:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732325AbgEMIkd (ORCPT + 99 others); Wed, 13 May 2020 04:40:33 -0400 Received: from 8bytes.org ([81.169.241.247]:42220 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgEMIkc (ORCPT ); Wed, 13 May 2020 04:40:32 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 81C26379; Wed, 13 May 2020 10:40:31 +0200 (CEST) Date: Wed, 13 May 2020 10:40:30 +0200 From: Joerg Roedel To: Qian Cai Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] iommu/amd: fix variable "iommu" set but not used Message-ID: <20200513084030.GB9820@8bytes.org> References: <20200509015645.3236-1-cai@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200509015645.3236-1-cai@lca.pw> 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 Fri, May 08, 2020 at 09:56:45PM -0400, Qian Cai wrote: > The commit dce8d6964ebd ("iommu/amd: Convert to probe/release_device() > call-backs") introduced an unused variable, > > drivers/iommu/amd_iommu.c: In function 'amd_iommu_uninit_device': > drivers/iommu/amd_iommu.c:422:20: warning: variable 'iommu' set but not > used [-Wunused-but-set-variable] > struct amd_iommu *iommu; > ^~~~~ > > Signed-off-by: Qian Cai > --- > drivers/iommu/amd_iommu.c | 3 --- > 1 file changed, 3 deletions(-) Applied, thanks.