summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/sc/init.c
diff options
context:
space:
mode:
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>2007-10-19 08:39:20 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 20:53:34 +0200
commit345225c8e4a4adad9eb261db26aebcd3b87055ad (patch)
tree70fc14d244ec6680821e4a1d536d4a8ab22e4906 /drivers/isdn/sc/init.c
parentisdn: fix random hard freeze with AVM T1 cards (diff)
downloadlinux-345225c8e4a4adad9eb261db26aebcd3b87055ad.tar.xz
linux-345225c8e4a4adad9eb261db26aebcd3b87055ad.zip
isdn/sc: remove unused REQUEST_IRQ and unnecessary header file
REQUEST_IRQ is never used, so delete it. In the process get rid of the macro FREE_IRQ which makes the code unnecessarily difficult to read. Signed-off-by: Fernando Luis Vázquez Cao <fernando@oss.ntt.co.jp> Acked-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/sc/init.c')
-rw-r--r--drivers/isdn/sc/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/sc/init.c b/drivers/isdn/sc/init.c
index 0bf76344a0d5..d09c854cfac7 100644
--- a/drivers/isdn/sc/init.c
+++ b/drivers/isdn/sc/init.c
@@ -404,7 +404,7 @@ static void __exit sc_exit(void)
/*
* Release the IRQ
*/
- FREE_IRQ(sc_adapter[i]->interrupt, NULL);
+ free_irq(sc_adapter[i]->interrupt, NULL);
/*
* Reset for a clean start