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:
parent
9b7dee90a6
commit
83012a5a0a
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue