aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-01-21 18:52:39 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2022-01-21 18:57:00 +0000
commit32e1beb19c7e8366ff6ad10d17769c6d0bdcc20a (patch)
treeaa166a560d69a3c0e9448ce6da565bcfd0a55be7
parent1f4f67f52424ac53d07ff524af9762fdf2e2b210 (diff)
ena-com: remove redundant declaration of ena_log_level.
GCC6 raises a -Wredundant-decl error due to duplicate declarations in ena_fbsd_log.h and ena_plat.h. Sponsored by: Chelsio Communications
-rw-r--r--ena_plat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ena_plat.h b/ena_plat.h
index b31821248398..274f795950c0 100644
--- a/ena_plat.h
+++ b/ena_plat.h
@@ -98,8 +98,6 @@ extern struct ena_bus_space ebs;
#define DEFAULT_ALLOC_ALIGNMENT 8
#define ENA_CDESC_RING_SIZE_ALIGNMENT (1 << 12) /* 4K */
-extern int ena_log_level;
-
#define container_of(ptr, type, member) \
({ \
const __typeof(((type *)0)->member) *__p = (ptr); \