summaryrefslogtreecommitdiffstats
path: root/tools/thermal
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-03-04 17:24:04 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-06 06:38:02 +0100
commit7522416d2569cb3767c84beaa602496c2753a692 (patch)
tree7e0bce7d2c5a440315bae60d839fb49f210286ab /tools/thermal
parenttun: fix misleading comment format (diff)
downloadlinux-7522416d2569cb3767c84beaa602496c2753a692.tar.xz
linux-7522416d2569cb3767c84beaa602496c2753a692.zip
tun: get rid of DBG1() macro
This macro is no-op unless TUN_DEBUG is defined (which requires editing and recompiling the source) and only does something if variable debug is 2 but that variable is zero initialized and never set to anything else. Moreover, the only use of the macro informs about entering function tun_chr_open() which can be easily achieved using ftrace or kprobe. Drop DBG1() macro, its only use and global variable debug. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions