powerpc/dma: remove set_dma_offset
There is no good reason for this helper, just opencode it. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
7610fdf5e0
commit
0617fc0ca4
@@ -43,7 +43,7 @@ static bool cxl_pci_enable_device_hook(struct pci_dev *dev)
|
||||
return false;
|
||||
}
|
||||
|
||||
set_dma_offset(&dev->dev, PAGE_OFFSET);
|
||||
dev->dev.archdata.dma_offset = PAGE_OFFSET;
|
||||
|
||||
/*
|
||||
* Allocate a context to do cxl things too. If we eventually do real
|
||||
|
Reference in New Issue
Block a user