[S390] remove superfluous check from do_IRQ
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 15 Mar 2011 16:08:20 +0000 (17:08 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Tue, 15 Mar 2011 16:08:22 +0000 (17:08 +0100)
Don't check for the int_type if an adapter interrupt is presented.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cio.c
drivers/s390/cio/cio.h

index 430f875006f22b8535d6c179268655e053528962..f3147542e52ee8ce4063245db8147c4cbb434b22 100644 (file)
@@ -630,11 +630,7 @@ void __irq_entry do_IRQ(struct pt_regs *regs)
        irb = (struct irb *)&S390_lowcore.irb;
        do {
                kstat_cpu(smp_processor_id()).irqs[IO_INTERRUPT]++;
-               /*
-                * Non I/O-subchannel thin interrupts are processed differently
-                */
-               if (tpi_info->adapter_IO == 1 &&
-                   tpi_info->int_type == IO_INTERRUPT_TYPE) {
+               if (tpi_info->adapter_IO) {
                        do_adapter_IO(tpi_info->isc);
                        continue;
                }
index bf7f80f5a330b7dc3a5ec26abc9cdbca48e51bb2..7a9032d01fb8391016e70027ace14d96aef33277 100644 (file)
@@ -105,8 +105,6 @@ struct subchannel {
        struct schib_config config;
 } __attribute__ ((aligned(8)));
 
-#define IO_INTERRUPT_TYPE         0 /* I/O interrupt type */
-
 #define to_subchannel(n) container_of(n, struct subchannel, dev)
 
 extern int cio_validate_subchannel (struct subchannel *, struct subchannel_id);