]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
irqchip/irq-bcm7038-l1: Remove unused reg_mask_status()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Nov 2025 15:52:01 +0000 (16:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 11 Nov 2025 21:11:17 +0000 (22:11 +0100)
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
drivers/irqchip/irq-bcm7038-l1.c

index 821b288587cab40145273bd0135e14fbff84ec5b..ea1446c0a09cf3f8933d7659efeb63b080727dfe 100644 (file)
@@ -82,12 +82,6 @@ static inline unsigned int reg_status(struct bcm7038_l1_chip *intc,
        return (0 * intc->n_words + word) * sizeof(u32);
 }
 
-static inline unsigned int reg_mask_status(struct bcm7038_l1_chip *intc,
-                                          unsigned int word)
-{
-       return (1 * intc->n_words + word) * sizeof(u32);
-}
-
 static inline unsigned int reg_mask_set(struct bcm7038_l1_chip *intc,
                                        unsigned int word)
 {