aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-23 17:23:49 -0700
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-23 17:23:49 -0700
commit67796ffbc049aaa16a083a4928066f60e287d64a (patch)
tree9666deba495d1564c004715bc1167c080fb6ed9f
parent6e64ee777b5b971c43fb00d9888c390ace7e4a2b (diff)
downloadcrda-67796ffbc049aaa16a083a4928066f60e287d64a.tar.gz
crda: remove unused BUG_ON() from intersect.c
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r--intersect.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/intersect.c b/intersect.c
index 59fd007..7352e73 100644
--- a/intersect.c
+++ b/intersect.c
@@ -9,13 +9,6 @@
/* Intersects regulatory domains, this will skip any regulatory marked with
* an alpha2 of '00', which is used to indicate a regulatory domain */
-#define BUG_ON(foo) do { \
- if (foo) { \
- printf("BUG\n"); \
- exit(-1); \
- } \
- } while (0)
-
/* Sanity check on a regulatory rule */
static int is_valid_reg_rule(const struct ieee80211_reg_rule *rule)
{