Skip to content

Commit

Permalink
isdn/sc: remove unused REQUEST_IRQ and unnecessary header file
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Karsten Keil <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fernando Luis Vázquez Cao authored and Linus Torvalds committed Oct 19, 2007
1 parent feea6d4 commit 345225c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
19 changes: 0 additions & 19 deletions drivers/isdn/sc/debug.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/isdn/sc/includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
#include <linux/timer.h>
#include <linux/wait.h>
#include <linux/isdnif.h>
#include "debug.h"
2 changes: 1 addition & 1 deletion drivers/isdn/sc/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 345225c

Please sign in to comment.