From: Lucas De Marchi <lucas.demarchi@intel.com>
To: <intel-xe@lists.freedesktop.org>
Cc: "Thomas Zimmermann" <tzimmermann@suse.de>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Lucas De Marchi" <lucas.demarchi@intel.com>
Subject: [PATCH] drm/xe: Remove xe_dummy_exit()
Date: Fri, 31 Jan 2025 14:39:08 -0800 [thread overview]
Message-ID: <20250131223908.4147195-1-lucas.demarchi@intel.com> (raw)
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
next reply other threads:[~2025-01-31 22:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-31 22:39 Lucas De Marchi [this message]
2025-01-31 23:38 ` ✓ CI.Patch_applied: success for drm/xe: Remove xe_dummy_exit() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250131223908.4147195-1-lucas.demarchi@intel.com \
--to=lucas.demarchi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=thomas.hellstrom@linux.intel.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox