projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf1071
)
powerpc/powernv: Remove useless wrapper
author
Alexey Kardashevskiy
<aik@ozlabs.ru>
Wed, 4 Jul 2018 06:13:44 +0000
(16:13 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 16 Jul 2018 12:47:02 +0000
(22:47 +1000)
This gets rid of a useless wrapper around
pnv_pci_ioda2_table_free_pages().
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powernv/pci-ioda.c
b/arch/powerpc/platforms/powernv/pci-ioda.c
index 5bd0eb6681bcbc12c58a21c257cf7202a2d4c5a6..d453f88c3c3e2d26c5d992d76c81b9d4c1fd7d33 100644
(file)
--- a/
arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/
arch/powerpc/platforms/powernv/pci-ioda.c
@@
-2199,11
+2199,6
@@
static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index,
pnv_pci_ioda2_tce_invalidate(tbl, index, npages, false);
}
-static void pnv_ioda2_table_free(struct iommu_table *tbl)
-{
- pnv_pci_ioda2_table_free_pages(tbl);
-}
-
static struct iommu_table_ops pnv_ioda2_iommu_ops = {
.set = pnv_ioda2_tce_build,
#ifdef CONFIG_IOMMU_API
@@
-2212,7
+2207,7
@@
static struct iommu_table_ops pnv_ioda2_iommu_ops = {
#endif
.clear = pnv_ioda2_tce_free,
.get = pnv_tce_get,
- .free = pnv_
ioda2_table_free
,
+ .free = pnv_
pci_ioda2_table_free_pages
,
};
static int pnv_pci_ioda_dev_dma_weight(struct pci_dev *dev, void *data)