Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

batman-adv: Drop batadv_priv_debug_log struct

The support for the batman-adv ring buffer for debug logs was dropped with
the removal of the debugfs filesystem. The structure storing this ring
buffer is therefore no longer needed since commit aff6f5a68b92
("batman-adv: Drop deprecated debugfs support")

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>

authored by

Sven Eckelmann and committed by
Simon Wunderlich
9a006e72 b195d604

-28
-28
net/batman-adv/types.h
··· 1137 1137 }; 1138 1138 #endif 1139 1139 1140 - #ifdef CONFIG_BATMAN_ADV_DEBUG 1141 - 1142 - /** 1143 - * struct batadv_priv_debug_log - debug logging data 1144 - */ 1145 - struct batadv_priv_debug_log { 1146 - /** @log_buff: buffer holding the logs (ring buffer) */ 1147 - char log_buff[BATADV_LOG_BUF_LEN]; 1148 - 1149 - /** @log_start: index of next character to read */ 1150 - unsigned long log_start; 1151 - 1152 - /** @log_end: index of next character to write */ 1153 - unsigned long log_end; 1154 - 1155 - /** @lock: lock protecting log_buff, log_start & log_end */ 1156 - spinlock_t lock; 1157 - 1158 - /** @queue_wait: log reader's wait queue */ 1159 - wait_queue_head_t queue_wait; 1160 - }; 1161 - #endif 1162 - 1163 1140 /** 1164 1141 * struct batadv_priv_gw - per mesh interface gateway data 1165 1142 */ ··· 1748 1771 #ifdef CONFIG_BATMAN_ADV_BLA 1749 1772 /** @bla: bridge loop avoidance data */ 1750 1773 struct batadv_priv_bla bla; 1751 - #endif 1752 - 1753 - #ifdef CONFIG_BATMAN_ADV_DEBUG 1754 - /** @debug_log: holding debug logging relevant data */ 1755 - struct batadv_priv_debug_log *debug_log; 1756 1774 #endif 1757 1775 1758 1776 /** @gw: gateway data */