Commit ae5d9cde authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/xe: Remove xe_dummy_exit()



Since commit 014125c6 ("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.

Reviewed-by: default avatarRaag Jadav <raag.jadav@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250131223908.4147195-1-lucas.demarchi@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent d9bc3044
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -77,10 +77,6 @@ struct init_funcs {
	void (*exit)(void);
};

static void xe_dummy_exit(void)
{
}

static const struct init_funcs init_funcs[] = {
	{
		.init = xe_check_nomodeset,
@@ -103,7 +99,6 @@ static const struct init_funcs init_funcs[] = {
	},
	{
		.init = xe_pm_module_init,
		.exit = xe_dummy_exit,
	},
};