Date: Fri, 23 Jul 2021 23:07:59 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8843787aa1bd - main - ena: Remove redundant declaration of ena_log_level. Message-ID: <202107232307.16NN7xGL084364@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8843787aa1bdbd10de6ba47a04489179ec2d2d3c commit 8843787aa1bdbd10de6ba47a04489179ec2d2d3c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-07-23 22:31:32 +0000 Commit: John Baldwin <jhb@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); \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107232307.16NN7xGL084364>