diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-03-04 17:24:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-05 21:38:02 -0800 |
commit | 182094348a08e712b41c0dbee92791bfa3b76d53 (patch) | |
tree | 78f80e1812c947b6cba88b5fae156ee9937998ee /lib/mpi/mpicoder.c | |
parent | 7522416d2569cb3767c84beaa602496c2753a692 (diff) |
tun: drop useless debugging statements
Some of the tun_debug() statements only inform us about entering
a function which can be easily achieved with ftrace or kprobe. As
tun_debug() is no-op unless TUN_DEBUG is set which requires editing the
source and recompiling, setting up ftrace or kprobe is easier. Drop these
debug statements.
Also drop the tun_debug() statement informing about SIOCSIFHWADDR ioctl.
We can monitor these through rtnetlink and it makes little sense to log
address changes through ioctl but not changes through rtnetlink. Moreover,
this tun_debug() is called even if the actual address change fails which
makes it even less useful.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions