patch-2.3.29 linux/drivers/char/ftape/lowlevel/fdc-io.c

Next file: linux/drivers/char/ftape/lowlevel/ftape-bsm.c
Previous file: linux/drivers/char/ftape/compressor/zftape-compress.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/char/ftape/lowlevel/fdc-io.c linux/drivers/char/ftape/lowlevel/fdc-io.c
@@ -1323,11 +1323,7 @@
 	TRACE_EXIT 0;
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VER(1,3,70)
 static void ftape_interrupt(int irq, void *dev_id, struct pt_regs *regs)
-#else
-static void ftape_interrupt(int irq, struct pt_regs *regs)
-#endif
 {
 	void (*handler) (void) = *fdc.hook;
 	TRACE_FUN(ft_t_any);
@@ -1355,11 +1351,7 @@
 				    fdc.irq);
 		}
 		if (request_dma(fdc.dma, ftape_id)) {
-#if LINUX_VERSION_CODE >= KERNEL_VER(1,3,70)
 			free_irq(fdc.irq, ftape_id);
-#else
-			free_irq(fdc.irq);
-#endif
 			TRACE_ABORT(-EIO, ft_t_bug,
 			      "Unable to grab DMA%d for ftape driver",
 			      fdc.dma);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)