diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-28 01:02:21 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-28 01:02:21 +0200 |
commit | 589114b87820eb0dc6eda4d11ff82380f2aa1619 (patch) | |
tree | 1fe3f3999b4fcd98e2ed799dfe8c0368199427ee /src/compat | |
parent | compat: get rid of warnings on frankenkernels (diff) | |
download | wireguard-monolithic-historical-589114b87820eb0dc6eda4d11ff82380f2aa1619.tar.xz wireguard-monolithic-historical-589114b87820eb0dc6eda4d11ff82380f2aa1619.zip |
socket: move print function from compat
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/compat.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index e9ea77b..a373c83 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -395,14 +395,4 @@ static inline void new_icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 #define __read_mostly #endif -#if defined(CONFIG_DYNAMIC_DEBUG) || defined(DEBUG) -#define net_dbg_skb_ratelimited(fmt, dev, skb, ...) do { \ - struct endpoint __endpoint; \ - socket_endpoint_from_skb(&__endpoint, skb); \ - net_dbg_ratelimited(fmt, dev, &__endpoint.addr, ##__VA_ARGS__); \ -} while(0) -#else -#define net_dbg_skb_ratelimited(fmt, skb, ...) -#endif - #endif |