Skip to content

Commit

Permalink
jsm: removing the field jsm_board->intr_count
Browse files Browse the repository at this point in the history
Currently there is a field in the jsm_board structure to cont
the number of interrupt that the card recevived, but it's not
working properly when the IRQ line is shared, and also nowhere
else this field is used. So, This patch is removing it.

Signed-off-by: Breno Leitão <leitao@linux.vnet.ibm.com>
Cc: Scott Kilau <Scott.Kilau@digi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Breno Leitão authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent a44829d commit f9d1dff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ struct jsm_board
u32 nasync; /* Number of ports on card */

u32 irq; /* Interrupt request number */
u64 intr_count; /* Count of interrupts */

u64 membase; /* Start of base memory of the card */
u64 membase_end; /* End of base memory of the card */
Expand Down
2 changes: 0 additions & 2 deletions drivers/serial/jsm/jsm_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,6 @@ static irqreturn_t neo_intr(int irq, void *voidbrd)
unsigned long lock_flags2;
int outofloop_count = 0;

brd->intr_count++;

/* Lock out the slow poller from running on this board. */
spin_lock_irqsave(&brd->bd_intr_lock, lock_flags);

Expand Down

0 comments on commit f9d1dff

Please sign in to comment.