Remove useless include/asm-*/floppy.h code
PATCH 1/1 Remove useless include/asm-*/floppy.h code
Hi,
Attached patch removes some useless code. Should apply to 2.4.19-pre10 and 2.5.21. Not sure if the code is still in relevant arch trees, but various people cc'd so that it can be eliminated.
Regards,
Rob Radez
include/asm-alpha/floppy.h +0 -5
@@ -76,11 +76,6 @@#endif /* CONFIG_PCI */ -__inline__void virtual_dma_init (void ) -{ -/* Nothing to do on an Alpha */ -} -static int FDC1 =0x3f0 ;static int FDC2 =-1 ;
include/asm-ppc/floppy.h +0 -5
@@ -33,11 +33,6 @@ "floppy", NULL)#define fd_free_irq () free_irq(FLOPPY_IRQ, NULL); -__inline__void virtual_dma_init (void ) -{ -/* Nothing to do on PowerPC */ -} -static int FDC1 =0x3f0 ;static int FDC2 =-1 ;
include/asm-ppc64/floppy.h +0 -5
@@ -76,11 +76,6 @@#endif /* CONFIG_PCI */ -__inline__void virtual_dma_init (void ) -{ -/* Nothing to do on PowerPC */ -} -static int FDC1 =0x3f0 ;static int FDC2 =-1 ;
include/asm-sparc/floppy.h +0 -5
@@ -217,11 +217,6 @@unsigned long pdma_areasize;/* Common routines to all controller types on the Sparc. */ -static __inline__void virtual_dma_init (void ) -{ -/* nothing... */ -} -static __inline__void sun_fd_disable_dma (void ) { doing_pdma =0 ;