]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Remove unused dentry without DEBUGFS
authorSven Eckelmann <sven@narfation.org>
Thu, 19 Apr 2018 19:01:08 +0000 (21:01 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 22 Apr 2018 08:11:07 +0000 (10:11 +0200)
commit33661e43165db7070bc51953dc54da7adcfd61a5
tree5db8f41f5348a21500e810669e179cef13fe9024
parentae8ce3e60cee949cdb1d452456fa1d49ab960772
batman-adv: Remove unused dentry without DEBUGFS

The debug_dir variable in the main structures is only accessed when
CONFIG_BATMAN_ADV_DEBUGFS is enabled. It can be dropped to potentially save
some bytes of memory.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/types.h