mirror of https://gitee.com/openkylin/linux.git
ia64: remove the unused iommu_dma_init function
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
b666287e79
commit
361a2ab91b
|
@ -15,7 +15,6 @@ extern int iommu_detected;
|
|||
#define no_iommu (1)
|
||||
#define iommu_detected (0)
|
||||
#endif
|
||||
extern void iommu_dma_init(void);
|
||||
extern void machvec_init(const char *name);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -37,12 +37,6 @@ static int __init pci_iommu_init(void)
|
|||
/* Must execute after PCI subsystem */
|
||||
fs_initcall(pci_iommu_init);
|
||||
|
||||
void __init
|
||||
iommu_dma_init(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void __init pci_iommu_alloc(void)
|
||||
{
|
||||
dma_ops = &intel_dma_ops;
|
||||
|
|
Loading…
Reference in New Issue