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)
commit16c9e29e12e8edbdf437001f46cf3f557aca80e8
tree328574b994ee4a7718c1806e78a162559f5a632a
parentd5692d4af08cde48ee98968aeb62077e2f6c50d5
iommu/vt-d: Cleanup after delegating DMA domain to generic iommu

[No functional changes]

1. Starting with commit df4f3c603aeb ("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