Skip to content

Commit

Permalink
LoongArch: Remove the unused dma-direct.h
Browse files Browse the repository at this point in the history
commit 58aec91efb93338d1cc7acc0a93242613a2a4e5f upstream.

dma-direct.h is introduced in commit d4b6f15 ("LoongArch: Add
Non-Uniform Memory Access (NUMA) support"). In commit c78c43f
("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()/
dma_to_phys() functions were removed. However, the unused dma-direct.h
was left behind, which is removed by this patch.

Cc: <[email protected]>
Fixes: c78c43f ("LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA")
Signed-off-by: Miao Wang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
shankerwangmiao authored and gregkh committed Sep 4, 2024
1 parent b1922c3 commit f6758eb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions arch/loongarch/include/asm/dma-direct.h

This file was deleted.

0 comments on commit f6758eb

Please sign in to comment.