hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/dlm/main.c
....@@ -1,12 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /******************************************************************************
23 *******************************************************************************
34 **
45 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
56 ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
67 **
7
-** This copyrighted material is made available to anyone wishing to use,
8
-** modify, copy, or redistribute it subject to the terms and conditions
9
-** of the GNU General Public License v.2.
108 **
119 *******************************************************************************
1210 ******************************************************************************/
....@@ -37,9 +35,7 @@
3735 if (error)
3836 goto out_lockspace;
3937
40
- error = dlm_register_debugfs();
41
- if (error)
42
- goto out_config;
38
+ dlm_register_debugfs();
4339
4440 error = dlm_user_init();
4541 if (error)
....@@ -63,7 +59,6 @@
6359 dlm_user_exit();
6460 out_debug:
6561 dlm_unregister_debugfs();
66
- out_config:
6762 dlm_config_exit();
6863 out_lockspace:
6964 dlm_lockspace_exit();