Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/irq-bcm7038-l1: Remove unused reg_mask_status()

reg_mask_status() is not referenced anywhere leading to W=1 warning:

irq-bcm7038-l1.c:85:28: error: unused function 'reg_mask_status' [-Werror,-Wunused-function]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20251106155200.337399-2-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Thomas Gleixner
45cc441d a045359e

-6
-6
drivers/irqchip/irq-bcm7038-l1.c
··· 82 82 return (0 * intc->n_words + word) * sizeof(u32); 83 83 } 84 84 85 - static inline unsigned int reg_mask_status(struct bcm7038_l1_chip *intc, 86 - unsigned int word) 87 - { 88 - return (1 * intc->n_words + word) * sizeof(u32); 89 - } 90 - 91 85 static inline unsigned int reg_mask_set(struct bcm7038_l1_chip *intc, 92 86 unsigned int word) 93 87 {