From: Thomas Gleixner Date: Mon, 13 Jul 2015 20:46:06 +0000 (+0000) Subject: MIPS: ath91: Remove pointless irqdisable/enable X-Git-Tag: omap-for-v4.3/fixes-rc1~99^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d9a2fa7dcbd05a1608a6a38b6ec1a092e117c3c;p=pandora-kernel.git MIPS: ath91: Remove pointless irqdisable/enable The various interrupt flow handlers in ath79 are cascading interrupt handlers. They all have a disable_irq_nosync()/enable_irq() pair around the generic_handle_irq() call. The value of this disable/enable is zero because its a complete noop: disable_irq_nosync() merily increments the disable count without actually masking the interrupt. enable_irq() soleley decrements the disable count without touching the interrupt chip. The interrupt cannot arrive again because the complete call chain runs with interrupts disabled. Remove it. Signed-off-by: Thomas Gleixner Cc: linux-mips@linux-mips.org Cc: LKML Cc: Jiang Liu Patchwork: https://patchwork.linux-mips.org/patch/10703/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed