Date: Fri, 30 Mar 2018 16:44:55 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331768 - head/sys/dev/ocs_fc Message-ID: <201803301644.w2UGitit021155@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301644.w2UGitit021155>