loongarch/dma: remove dma-direct.h
PATCH 1/1 loongarch/dma: remove dma-direct.h
dma-direct.h is introduced in commit d4b6f1562a3c ("LoongArch:
Add Non-Uniform Memory Access (NUMA) support"). In commit c78c43fe7d42 ("LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA"), ARCH_HAS_PHYS_TO_DMA was deselected and the coresponding phys_to_dma and dma_to_phys functions were removed. However, the unused dma-direct.h was left behind, which is removed by this patch.
--- arch/loongarch/include/asm/dma-direct.h | 11 ----------- 1 file changed, 11 deletions(-)
arch/loongarch/include/asm/dma-direct.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* Copyright (C) 2020-2022 Loongson Technology Corporation Limited -*/ -#ifndef _LOONGARCH_DMA_DIRECT_H -#define _LOONGARCH_DMA_DIRECT_H - -dma_addr_t phys_to_dma (struct device *dev,phys_addr_t paddr); -phys_addr_t dma_to_phys (struct device *dev,dma_addr_t daddr); - -#endif /* _LOONGARCH_DMA_DIRECT_H */
---
base-commit: 7c626ce4bae1ac14f60076d00eafe71af30450ba
change-id: 20240812-clean-dma-direct-2eef3cb0c987
Best regards,
Signature · 1 line
Miao Wang <[email protected]>
Queued, thanks.
Huacai
Quoted 44 lines · On Mon, Aug 12, 2024 at 1:30 PM Miao Wang via B4 Relay…
From: Miao Wang <[email protected]>
dma-direct.his introduced in commitd4b6f1562a3c("LoongArch:
Add Non-Uniform Memory Access (NUMA) support"). In commitc78c43fe7d42("LoongArch: Useacpi_arch_dma_setup()and removeARCH_HAS_PHYS_TO_DMA"),ARCH_HAS_PHYS_TO_DMAwas deselected and the corespondingphys_to_dmaanddma_to_physfunctions were removed. However, the unuseddma-direct.hwas left behind, which is removed by this patch.Fixes c78c43fe7d42 ("LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA")Signed-off-by Miao Wang <[email protected]>--- arch/loongarch/include/asm/dma-direct.h | 11 ----------- 1 file changed, 11 deletions(-)arch/loongarch/include/asm/dma-direct.h deleted +0
-12@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* Copyright (C) 2020-2022 Loongson Technology Corporation Limited -*/ -#ifndef _LOONGARCH_DMA_DIRECT_H -#define _LOONGARCH_DMA_DIRECT_H - -dma_addr_t phys_to_dma (struct device *dev,phys_addr_t paddr); -phys_addr_t dma_to_phys (struct device *dev,dma_addr_t daddr); - -#endif /* _LOONGARCH_DMA_DIRECT_H */ ---base-commit:
7c626ce4bae1ac14f60076d00eafe71af30450ba
change-id: 20240812-clean-dma-direct-2eef3cb0c987Best regards,
--
Miao Wang <[email protected]>