]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Simplify final return from xe_irq_install()
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 15 Sep 2023 22:02:33 +0000 (19:02 -0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:41:14 +0000 (11:41 -0500)
commitd435a039646eee712f4d5da2405181015c30bb1a
tree460b3538d73d524fb242e6f5a6dc52b1b38d5995
parentfc678ec7c2e037fcc1bb678403036a9772e61dbd
drm/xe: Simplify final return from xe_irq_install()

At the end of the function, we will always return err no matter it's
value. Simplify this by just returning the result of
drmm_add_action_or_reset().

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230915220233.59736-1-gustavo.sousa@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_irq.c