The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8843787aa1bdbd10de6ba47a04489179ec2d2d3c

commit 8843787aa1bdbd10de6ba47a04489179ec2d2d3c
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2021-07-23 22:31:32 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2021-07-23 23:07:35 +0000

    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 b31821248398..274f795950c0 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);       \
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to