MIPS: mm: remove mips_dma_mapping_error
"Linux Kernel Mailing List" <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/7d8c6d6a180ae776070d26dc58f3ecb5560f9a48 Commit: 7d8c6d6a180ae776070d26dc58f3ecb5560f9a48 Parent: 6538953f1e1f8001efde1cee8eb61f5ef8ec7b5d Refname: refs/heads/master Author: Felix Fietkau <[email protected]> AuthorDate: Tue Dec 5 12:50:33 2017 +0100 Committer: James Hogan <[email protected]> CommitDate: Tue Jan 9 22:30:02 2018 +0000 MIPS: mm: remove mips_dma_mapping_error dma_mapping_error() already checks if ops->mapping_error is a null pointer Signed-off-by: Felix Fietkau <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/17881/ Signed-off-by: James Hogan <[email protected]> --- arch/mips/mm/dma-default.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index e3e94d05f0fd..1af0cd90cc34 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c @@ -373,11 +373,6 @@ static void mips_dma_sync_sg_for_device(struct device *dev, } } -static int mips_dma_mapping_error(struct device *dev, dma_addr_t dma_addr) -{ - return 0; -}