]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix ftape warning
authorAndrew Morton <akpm@osdl.org>
Sun, 31 Aug 2003 11:27:05 +0000 (04:27 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 31 Aug 2003 11:27:05 +0000 (04:27 -0700)
From: Chris Heath <chris@heathens.co.nz>

Here's a patch which fixes this warning:

drivers/char/ftape/lowlevel/fdc-io.c: In function `ftape_interrupt':
drivers/char/ftape/lowlevel/fdc-io.c:1299: warning: unused variable `_tracing'

drivers/char/ftape/lowlevel/fdc-io.c

index 1f1363a03564044d89db8b1c15ff9e38013f9270..869192f67504b648406701c938542f92c6f147be 100644 (file)
@@ -1305,7 +1305,7 @@ static irqreturn_t ftape_interrupt(int irq, void *dev_id, struct pt_regs *regs)
        } else {
                TRACE(ft_t_bug, "Unexpected ftape interrupt");
        }
-       return IRQ_RETVAL(handled);
+       TRACE_EXIT IRQ_RETVAL(handled);
 }
 
 int fdc_grab_irq_and_dma(void)