--- zzzz-none-000/linux-4.1.52/include/linux/irq.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/irq.h 2022-03-02 11:37:13.000000000 +0000 @@ -437,8 +437,8 @@ void irq_move_irq(struct irq_data *data); void irq_move_masked_irq(struct irq_data *data); #else -static inline void irq_move_irq(struct irq_data *data) { } -static inline void irq_move_masked_irq(struct irq_data *data) { } +static inline void irq_move_irq(struct irq_data *data __maybe_unused) { } +static inline void irq_move_masked_irq(struct irq_data *data __maybe_unused) { } #endif extern int no_irq_affinity; @@ -858,8 +858,8 @@ raw_spin_unlock(&gc->lock); } #else -static inline void irq_gc_lock(struct irq_chip_generic *gc) { } -static inline void irq_gc_unlock(struct irq_chip_generic *gc) { } +static inline void irq_gc_lock(struct irq_chip_generic *gc __attribute__((unused))) { } +static inline void irq_gc_unlock(struct irq_chip_generic *gc __attribute__((unused))) { } #endif /*