[PATCH] arm: <asm/floppy.h>: remove unused DMA_FLOPPYDISK macro

Ethan Nelson-Moore enelsonmoore at gmail.com
Wed May 6 19:32:05 PDT 2026


This macro is not used anywhere in the kernel. Remove it.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore at gmail.com>
---
 arch/arm/include/asm/floppy.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/include/asm/floppy.h b/arch/arm/include/asm/floppy.h
index e579f77162e9..c208925e4d98 100644
--- a/arch/arm/include/asm/floppy.h
+++ b/arch/arm/include/asm/floppy.h
@@ -45,9 +45,6 @@ static inline int fd_dma_setup(void *data, unsigned int length,
 #define fd_free_dma()		free_dma(DMA_FLOPPY)
 #define fd_disable_dma()	disable_dma(DMA_FLOPPY)
 
-/* need to clean up dma.h */
-#define DMA_FLOPPYDISK		DMA_FLOPPY
-
 /* Floppy_selects is the list of DOR's to select drive fd
  *
  * On initialisation, the floppy list is scanned, and the drives allocated
-- 
2.43.0




More information about the linux-arm-kernel mailing list