提交 3dbc2608 编写于 作者: J Joerg Roedel

iommu/amd: Fix recently introduced compile warnings

Fix two compile warnings about unused variables introduced
by commit ecef115d.
Reported-by: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 ecef115d
......@@ -3499,8 +3499,6 @@ int __init amd_iommu_init_passthrough(void)
{
struct iommu_dev_data *dev_data;
struct pci_dev *dev = NULL;
struct amd_iommu *iommu;
u16 devid;
int ret;
ret = alloc_passthrough_domain();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册