treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / ralink / irq-gic.c
blob3bab51a5fb4c761a356314a4e4600de7150aa031
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
4 * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
5 * Copyright (C) 2015 John Crispin <john@phrozen.org>
6 */
8 #include <linux/init.h>
10 #include <linux/of.h>
11 #include <linux/irqchip.h>
12 #include <asm/mips-cps.h>
14 int get_c0_perfcount_int(void)
16 return gic_get_c0_perfcount_int();
18 EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
20 void __init arch_init_irq(void)
22 irqchip_init();