From 8843787aa1bdbd10de6ba47a04489179ec2d2d3c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 23 Jul 2021 15:31:32 -0700 Subject: [PATCH] ena: 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 --- sys/contrib/ena-com/ena_plat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/contrib/ena-com/ena_plat.h b/sys/contrib/ena-com/ena_plat.h index b3182124839..274f795950c 100644 --- a/sys/contrib/ena-com/ena_plat.h +++ b/sys/contrib/ena-com/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); \