Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee5894fb authored by Sebastian Ott's avatar Sebastian Ott Committed by Martin Schwidefsky
Browse files

[S390] remove superfluous check from do_IRQ



Don't check for the int_type if an adapter interrupt is presented.

Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 2c190da4
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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;
		}
+0 −2
Original line number Diff line number Diff line
@@ -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);