From: stsp Date: Sat, 19 Mar 2022 10:28:44 +0000 (+0000) Subject: Do not define RA_DEBUG; pointed out by miod@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8d704c3ed27762f4c80c9e7916a919a617c3cd94;p=openbsd Do not define RA_DEBUG; pointed out by miod@ --- diff --git a/sys/net80211/ieee80211_ra.c b/sys/net80211/ieee80211_ra.c index 13d3351f6fd..b820976ebf2 100644 --- a/sys/net80211/ieee80211_ra.c +++ b/sys/net80211/ieee80211_ra.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ra.c,v 1.4 2021/10/11 09:01:06 stsp Exp $ */ +/* $OpenBSD: ieee80211_ra.c,v 1.5 2022/03/19 10:28:44 stsp Exp $ */ /* * Copyright (c) 2021 Christian Ehrhardt @@ -70,7 +70,6 @@ int ieee80211_ra_probe_valid(struct ieee80211_ra_goodput_stats *); #define RA_FP_DIV(a, b) \ (b == 0 ? (uint64_t)-1 : (((a) << RA_FP_SHIFT) / (b))) -#define RA_DEBUG #ifdef RA_DEBUG #define DPRINTF(x) do { if (ra_debug > 0) printf x; } while (0) #define DPRINTFN(n, x) do { if (ra_debug >= (n)) printf x; } while (0) diff --git a/sys/net80211/ieee80211_ra_vht.c b/sys/net80211/ieee80211_ra_vht.c index 0d176ea7ade..643664673d3 100644 --- a/sys/net80211/ieee80211_ra_vht.c +++ b/sys/net80211/ieee80211_ra_vht.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ra_vht.c,v 1.1 2022/03/19 10:25:09 stsp Exp $ */ +/* $OpenBSD: ieee80211_ra_vht.c,v 1.2 2022/03/19 10:28:44 stsp Exp $ */ /* * Copyright (c) 2021 Christian Ehrhardt @@ -69,7 +69,6 @@ int ieee80211_ra_vht_probe_valid(struct ieee80211_ra_vht_goodput_stats *); #define RA_FP_DIV(a, b) \ (b == 0 ? (uint64_t)-1 : (((a) << RA_FP_SHIFT) / (b))) -#define RA_DEBUG #ifdef RA_DEBUG #define DPRINTF(x) do { if (ra_vht_debug > 0) printf x; } while (0) #define DPRINTFN(n, x) do { if (ra_vht_debug >= (n)) printf x; } while (0)