lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 4 Mar 2020 17:24:20 +0100 (CET) From: Michal Kubecek <mkubecek@...e.cz> To: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org Cc: linux-kernel@...r.kernel.org Subject: [PATCH net-next 5/5] tun: drop TUN_DEBUG and tun_debug() TUN_DEBUG and tun_debug() are no longer used anywhere, drop them. Signed-off-by: Michal Kubecek <mkubecek@...e.cz> --- drivers/net/tun.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 42110aba0014..4689e4c62e21 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -75,23 +75,6 @@ static void tun_default_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd); -/* Uncomment to enable debugging */ -/* #define TUN_DEBUG 1 */ - -#ifdef TUN_DEBUG -#define tun_debug(level, tun, fmt, args...) \ -do { \ - if (tun->msg_enable) \ - netdev_printk(level, tun->dev, fmt, ##args); \ -} while (0) -#else -#define tun_debug(level, tun, fmt, args...) \ -do { \ - if (0) \ - netdev_printk(level, tun->dev, fmt, ##args); \ -} while (0) -#endif - #define TUN_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) /* TUN device flags */ -- 2.25.1
Powered by blists - more mailing lists