jsm: removing the field jsm_board->intr_count
authorBreno Leitão <leitao@linux.vnet.ibm.com>
Tue, 29 Sep 2009 18:16:59 +0000 (15:16 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:03 +0000 (15:18 -0800)
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>
drivers/serial/jsm/jsm.h
drivers/serial/jsm/jsm_neo.c

index 484c9275718ad86e72715c0c8f9fcc803b044803..38a509c684cd297f0dfaa18bf67279bdfcd9d9b8 100644 (file)
@@ -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 */
index bee37274cc9a9fe7aa74e27d4c0c774d745b904f..7960d9633c15a2a18ad53b57540b6d316ca010bf 100644 (file)
@@ -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);