]> git.baikalelectronics.ru Git - kernel.git/commit
sh: eliminate unused irq_reg_{readl,writel} accessors
authorKevin Cernekee <cernekee@gmail.com>
Tue, 10 Feb 2015 22:08:38 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Feb 2015 22:30:28 +0000 (14:30 -0800)
commit5c2da63918cd71c76ce3f5397a9f409a0dab28c5
treee7dd0aaf2d9bb625748200026015837bc6bdb00e
parent644dbfcdc0dc63dc71b820e90ae8b84fb7bc28d7
sh: eliminate unused irq_reg_{readl,writel} accessors

Defining these macros way down in arch/sh/.../irq.c doesn't cause
kernel/irq/generic-chip.c to use them.  As far as I can tell this code has
no effect.

Fixes: 75e77e208f52dbf5 ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments")
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> (cpp/asm comparison)
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/boards/mach-se/7343/irq.c
arch/sh/boards/mach-se/7722/irq.c