diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c index 846f3dbf1..fe4d4a932 100644 --- a/drivers/gpu/nvgpu/os/linux/module.c +++ b/drivers/gpu/nvgpu/os/linux/module.c @@ -16,7 +16,6 @@ * along with this program. If not, see . */ -#include #include #include #include @@ -463,10 +462,6 @@ int gk20a_pm_finalize_poweron(struct device *dev) g->ops.xve.devinit_deferred_settings(g); } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) - nvgpu_set_enabled(g, NVGPU_SUPPORT_DGPU_THERMAL_ALERT, false); -#endif - if (nvgpu_is_enabled(g, NVGPU_SUPPORT_DGPU_THERMAL_ALERT) && nvgpu_platform_is_silicon(g)) { err = nvgpu_request_therm_irq(l);