HV: remove unused function disable_iommu

Change-Id: Ia2347008082991d56cdbfab9f9940cfccc473702
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
yliu79 2019-05-17 14:35:31 -07:00 committed by ACRN System Integration
parent 9b7dee90a6
commit 83012a5a0a
2 changed files with 0 additions and 13 deletions

View File

@ -1301,11 +1301,6 @@ void enable_iommu(void)
do_action_for_iommus(dmar_enable);
}
void disable_iommu(void)
{
do_action_for_iommus(dmar_disable);
}
void suspend_iommu(void)
{
do_action_for_iommus(dmar_suspend);

View File

@ -604,14 +604,6 @@ void destroy_iommu_domain(struct iommu_domain *domain);
*/
void enable_iommu(void);
/**
* @brief Disable translation of IOMMUs.
*
* Disable address translation of all IOMMUs, which are not ignored on the platform.
*
*/
void disable_iommu(void);
/**
* @brief Suspend IOMMUs.
*