hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/wireless/intel/iwlwifi/fw/debugfs.h
....@@ -18,9 +18,6 @@
1818 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1919 * General Public License for more details.
2020 *
21
- * You should have received a copy of the GNU General Public License
22
- * along with this program.
23
- *
2421 * The full GNU General Public License is included in this distribution
2522 * in the file called COPYING.
2623 *
....@@ -66,14 +63,11 @@
6663 #include "runtime.h"
6764
6865 #ifdef CONFIG_IWLWIFI_DEBUGFS
69
-int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
66
+void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
7067 struct dentry *dbgfs_dir);
7168
7269 #else
73
-static inline int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
74
- struct dentry *dbgfs_dir)
75
-{
76
- return 0;
77
-}
70
+static inline void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
71
+ struct dentry *dbgfs_dir) { }
7872
7973 #endif /* CONFIG_IWLWIFI_DEBUGFS */