]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Cleanup after delegating DMA domain to generic iommu
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Wed, 12 Jun 2019 00:28:50 +0000 (08:28 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Jun 2019 08:36:59 +0000 (10:36 +0200)
commitc99d0a6eb90db052b442febde219286dfd2d2466
tree328574b994ee4a7718c1806e78a162559f5a632a
parentcea6e24dac5d3762d204623ea70c40e552b26a7c
iommu/vt-d: Cleanup after delegating DMA domain to generic iommu

[No functional changes]

1. Starting with commit 9f430112de0e ("iommu/vt-d: Remove static identity
map code") there are no callers for iommu_prepare_rmrr_dev() but the
implementation of the function still exists, so remove it. Also, as a
ripple effect remove get_domain_for_dev() and iommu_prepare_identity_map()
because they aren't being used either.

2. Remove extra new line in couple of places.

Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c