]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/xe/irq: the irq handler local variable need not be static
authorJani Nikula <jani.nikula@intel.com>
Thu, 9 Mar 2023 12:21:33 +0000 (14:21 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:30:12 +0000 (18:30 -0500)
It's just a local variable.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_irq.c

index 071ccc75b71bf511d85e0cba01ef8da2325c00ce..9527e7fb9b6efc24ec0279e1562647a53cb124bd 100644 (file)
@@ -516,7 +516,7 @@ static void irq_uninstall(struct drm_device *drm, void *arg)
 int xe_irq_install(struct xe_device *xe)
 {
        int irq = to_pci_dev(xe->drm.dev)->irq;
-       static irq_handler_t irq_handler;
+       irq_handler_t irq_handler;
        int err;
 
        irq_handler = xe_irq_handler(xe);