diff options
| author | Paul Burton <paul.burton@imgtec.com> | 2017-08-13 00:36:35 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2017-09-04 07:53:14 -0400 |
| commit | 56d7b61dc6d4e13cef786c8e4a2bfe43e4db932d (patch) | |
| tree | 8269b204e316806b0b9ae8c9789621d37c1decc6 /include/linux/irqchip | |
| parent | 72eb29951f98f612ba5a5bb8c58c87eaf8fb7351 (diff) | |
irqchip: mips-gic: Remove gic_present
Nothing uses the global gic_present variable anymore; mips_gic_present()
should be used instead. Remove the dead code.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17045/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/linux/irqchip')
| -rw-r--r-- | include/linux/irqchip/mips-gic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/irqchip/mips-gic.h b/include/linux/irqchip/mips-gic.h index 63c5f87034c9..113010c8dd8b 100644 --- a/include/linux/irqchip/mips-gic.h +++ b/include/linux/irqchip/mips-gic.h | |||
| @@ -17,16 +17,10 @@ | |||
| 17 | 17 | ||
| 18 | #ifdef CONFIG_MIPS_GIC | 18 | #ifdef CONFIG_MIPS_GIC |
| 19 | 19 | ||
| 20 | extern unsigned int gic_present; | ||
| 21 | |||
| 22 | extern int gic_get_c0_compare_int(void); | 20 | extern int gic_get_c0_compare_int(void); |
| 23 | extern int gic_get_c0_perfcount_int(void); | 21 | extern int gic_get_c0_perfcount_int(void); |
| 24 | extern int gic_get_c0_fdc_int(void); | 22 | extern int gic_get_c0_fdc_int(void); |
| 25 | 23 | ||
| 26 | #else /* CONFIG_MIPS_GIC */ | ||
| 27 | |||
| 28 | #define gic_present 0 | ||
| 29 | |||
| 30 | #endif /* CONFIG_MIPS_GIC */ | 24 | #endif /* CONFIG_MIPS_GIC */ |
| 31 | 25 | ||
| 32 | #endif /* __LINUX_IRQCHIP_MIPS_GIC_H */ | 26 | #endif /* __LINUX_IRQCHIP_MIPS_GIC_H */ |
