Messages in this thread |  | | Date | Tue, 7 Jan 2020 17:03:08 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH] iommu/dma: fix variable 'cookie' set but not used |
| |
On Mon, Jan 06, 2020 at 10:27:27AM -0500, Qian Cai wrote: > The commit c18647900ec8 ("iommu/dma: Relax locking in > iommu_dma_prepare_msi()") introduced a compliation warning, > > drivers/iommu/dma-iommu.c: In function 'iommu_dma_prepare_msi': > drivers/iommu/dma-iommu.c:1206:27: warning: variable 'cookie' set but > not used [-Wunused-but-set-variable] > struct iommu_dma_cookie *cookie; > ^~~~~~ > > Fixes: c18647900ec8 ("iommu/dma: Relax locking in iommu_dma_prepare_msi()") > Signed-off-by: Qian Cai <cai@lca.pw> > --- > drivers/iommu/dma-iommu.c | 3 --- > 1 file changed, 3 deletions(-)
Applied for v5.5, thanks.
|  |