batman-adv: remove unused debug log setup declarations
Sven Eckelmann
maintainerPATCH 1/1 batman-adv: remove unused debug log setup declarations
The commit 2048931015ae ("batman-adv: Drop deprecated debugfs support") removed batadv_debug_log_setup() and batadv_debug_log_cleanup(). Their declarations and the inline stubs for !CONFIG_BATMAN_ADV_DEBUG were kept in log.h. Nothing uses them anymore. Remove them.
Signed-off-by Sven Eckelmann <[email protected]>
--- net/batman-adv/log.h | 18 ------------------ 1 file changed, 18 deletions(-)
net/batman-adv/log.h +0 -18
@@ -14,24 +14,6 @@#include <linux/compiler.h> #include <linux/printk.h> -#ifdef CONFIG_BATMAN_ADV_DEBUG - -int batadv_debug_log_setup (struct batadv_priv *bat_priv); -void batadv_debug_log_cleanup (struct batadv_priv *bat_priv); - -#else - -static inline int batadv_debug_log_setup (struct batadv_priv *bat_priv) -{ -return 0 ; -} - -static inline void batadv_debug_log_cleanup (struct batadv_priv *bat_priv) -{ -} - -#endif -/** * enum batadv_dbg_level - available log levels */
---
base-commit: 11431b38d0cd787a2e988416e7086dc1cf225055
change-id: 20261128-unused-log-helper-cffa225606f8
Best regards,
Signature · 1 line
Sven Eckelmann <[email protected]>