mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
drm/xe/configfs: Drop redundant init() error message
There is no need to print separate error message since we will also print one in xe_init(). Also drop temporary variable, which was likely just taken from the example code. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250731193339.179829-5-michal.wajdeczko@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
committed by
Lucas De Marchi
parent
b90613fb02
commit
c4b1dde063
@@ -392,15 +392,12 @@ u64 xe_configfs_get_engines_allowed(struct pci_dev *pdev)
|
||||
|
||||
int __init xe_configfs_init(void)
|
||||
{
|
||||
struct config_group *root = &xe_configfs.su_group;
|
||||
int ret;
|
||||
|
||||
config_group_init(root);
|
||||
config_group_init(&xe_configfs.su_group);
|
||||
mutex_init(&xe_configfs.su_mutex);
|
||||
ret = configfs_register_subsystem(&xe_configfs);
|
||||
if (ret) {
|
||||
pr_err("Error %d while registering %s subsystem\n",
|
||||
ret, root->cg_item.ci_namebuf);
|
||||
mutex_destroy(&xe_configfs.su_mutex);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user