svn commit: r331768 - head/sys/dev/ocs_fc
Conrad Meyer
cem at FreeBSD.org
Fri Mar 30 16:44:55 UTC 2018
Author: cem
Date: Fri Mar 30 16:44:54 2018
New Revision: 331768
URL: https://svnweb.freebsd.org/changeset/base/331768
Log:
ocs_fc(4): Fix GCC build (-Wredundant-decls)
These objects are defined earlier in the same file; an extern declaration
after definition is redundant.
Broken in r331766 (introduction of ocs_fc(4)).
Sponsored by: Dell EMC Isilon
Modified:
head/sys/dev/ocs_fc/sli4.c
Modified: head/sys/dev/ocs_fc/sli4.c
==============================================================================
--- head/sys/dev/ocs_fc/sli4.c Fri Mar 30 16:37:08 2018 (r331767)
+++ head/sys/dev/ocs_fc/sli4.c Fri Mar 30 16:44:54 2018 (r331768)
@@ -5758,9 +5758,6 @@ int32_t sli_link_is_configurable(sli4_t *sli)
/* vim: set noexpandtab textwidth=120: */
-extern const char *SLI_QNAME[];
-extern const sli4_reg_t regmap[SLI4_REG_MAX][SLI4_MAX_IF_TYPES];
-
/**
* @ingroup sli_fc
* @brief Write an FCOE_WQ_CREATE command.
More information about the svn-src-all
mailing list