]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
MIPS: Loongson: irq.c: Misc cleanups
authorShinya Kuribayashi <skuribay@pobox.com>
Sun, 27 Jun 2010 13:52:01 +0000 (22:52 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:05 +0000 (13:26 +0100)
commitf5c1ca77a3b2f9b424c4f39bd71143d0ac308924
tree361d18f2ac0b08bd480403aeca319f725eefd585
parent1f1f4e7dbc0c0312e9e7fe3cadd07340ea62070f
MIPS: Loongson: irq.c: Misc cleanups

* Remove unnecessary 'if (int_status & (1 <<10))' statement
* s/if (foo != 0)/if (foo)/
* Remove unused 'inst_status &= ~(1 << i);' line

Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
To: wuzhangjin@gmail.com
CC: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1433/
Acked-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/irq.c