hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/net/6lowpan/6lowpan_i.h
....@@ -18,24 +18,16 @@
1818 int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev);
1919
2020 #ifdef CONFIG_6LOWPAN_DEBUGFS
21
-int lowpan_dev_debugfs_init(struct net_device *dev);
21
+void lowpan_dev_debugfs_init(struct net_device *dev);
2222 void lowpan_dev_debugfs_exit(struct net_device *dev);
2323
24
-int __init lowpan_debugfs_init(void);
24
+void __init lowpan_debugfs_init(void);
2525 void lowpan_debugfs_exit(void);
2626 #else
27
-static inline int lowpan_dev_debugfs_init(struct net_device *dev)
28
-{
29
- return 0;
30
-}
31
-
27
+static inline void lowpan_dev_debugfs_init(struct net_device *dev) { }
3228 static inline void lowpan_dev_debugfs_exit(struct net_device *dev) { }
3329
34
-static inline int __init lowpan_debugfs_init(void)
35
-{
36
- return 0;
37
-}
38
-
30
+static inline void __init lowpan_debugfs_init(void) { }
3931 static inline void lowpan_debugfs_exit(void) { }
4032 #endif /* CONFIG_6LOWPAN_DEBUGFS */
4133