hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/net/wimax/wimax-internal.h
....@@ -1,25 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Linux WiMAX
34 * Internal API for kernel space WiMAX stack
45 *
5
- *
66 * Copyright (C) 2007 Intel Corporation <linux-wimax@intel.com>
77 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License version
11
- * 2 as published by the Free Software Foundation.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, write to the Free Software
20
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
- * 02110-1301, USA.
22
- *
238 *
249 * This header file is for declarations and definitions internal to
2510 * the WiMAX stack. For public APIs and documentation, see
....@@ -72,13 +57,10 @@
7257 void __wimax_state_change(struct wimax_dev *, enum wimax_st);
7358
7459 #ifdef CONFIG_DEBUG_FS
75
-int wimax_debugfs_add(struct wimax_dev *);
60
+void wimax_debugfs_add(struct wimax_dev *);
7661 void wimax_debugfs_rm(struct wimax_dev *);
7762 #else
78
-static inline int wimax_debugfs_add(struct wimax_dev *wimax_dev)
79
-{
80
- return 0;
81
-}
63
+static inline void wimax_debugfs_add(struct wimax_dev *wimax_dev) {}
8264 static inline void wimax_debugfs_rm(struct wimax_dev *wimax_dev) {}
8365 #endif
8466