Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Remove xe_dummy_exit()
@ 2025-01-31 22:39 Lucas De Marchi
  2025-01-31 23:38 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Lucas De Marchi @ 2025-01-31 22:39 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Zimmermann, Thomas Hellström, Lucas De Marchi

Since commit 014125c64d09 ("drm/xe: Support 'nomodeset' kernel
command-line option") the dummy exit is not needed anymore since the
caller check for a NULL pointer. Drop it.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 drivers/gpu/drm/xe/xe_module.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 0f2c20e9204a2..26ec9aa02648b 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -80,10 +80,6 @@ struct init_funcs {
 	void (*exit)(void);
 };
 
-static void xe_dummy_exit(void)
-{
-}
-
 static const struct init_funcs init_funcs[] = {
 	{
 		.init = xe_check_nomodeset,
@@ -106,7 +102,6 @@ static const struct init_funcs init_funcs[] = {
 	},
 	{
 		.init = xe_pm_module_init,
-		.exit = xe_dummy_exit,
 	},
 };
 
-- 
2.48.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-02-03 16:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 22:39 [PATCH] drm/xe: Remove xe_dummy_exit() Lucas De Marchi
2025-01-31 23:38 ` ✓ CI.Patch_applied: success for " Patchwork
2025-01-31 23:38 ` ✓ CI.checkpatch: " Patchwork
2025-01-31 23:39 ` ✓ CI.KUnit: " Patchwork
2025-01-31 23:56 ` ✓ CI.Build: " Patchwork
2025-01-31 23:58 ` ✓ CI.Hooks: " Patchwork
2025-01-31 23:59 ` ✓ CI.checksparse: " Patchwork
2025-02-01  0:19 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-01  6:18 ` [PATCH] " Raag Jadav
2025-02-01  9:01 ` ✗ Xe.CI.Full: failure for " Patchwork
2025-02-03 16:08 ` [PATCH] " Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox