From 61ebf86ee598f2059536fec9f27f423896be8d83 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Fri, 30 Mar 2018 16:44:54 +0000 Subject: [PATCH] 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 --- sys/dev/ocs_fc/sli4.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/ocs_fc/sli4.c b/sys/dev/ocs_fc/sli4.c index c346fb2e0d8c..c5e7a74203a9 100644 --- a/sys/dev/ocs_fc/sli4.c +++ b/sys/dev/ocs_fc/sli4.c @@ -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.