Message ID | 157657686842.30329.4552093141575050735.tip-bot2@tip-bot2 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [tip:,ras/core] x86/mce/therm_throt: Mark throttle_active_work() as __maybe_unused | expand |
diff --git a/arch/x86/kernel/cpu/mce/therm_throt.c b/arch/x86/kernel/cpu/mce/therm_throt.c index b38010b..8963493 100644 --- a/arch/x86/kernel/cpu/mce/therm_throt.c +++ b/arch/x86/kernel/cpu/mce/therm_throt.c @@ -235,7 +235,7 @@ static void get_therm_status(int level, bool *proc_hot, u8 *temp) *temp = (msr_val >> 16) & 0x7F; } -static void throttle_active_work(struct work_struct *work) +static void __maybe_unused throttle_active_work(struct work_struct *work) { struct _thermal_state *state = container_of(to_delayed_work(work), struct _thermal_state, therm_work);