]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
smartpqi: Remove stray declaration
authorWarner Losh <imp@FreeBSD.org>
Thu, 3 Jun 2021 23:44:27 +0000 (17:44 -0600)
committerWarner Losh <imp@FreeBSD.org>
Wed, 9 Mar 2022 20:52:23 +0000 (13:52 -0700)
pqisrc_is_firmware_feature_enabled shouldn't be declared inline in a
header, and then static inline in the .c function. Remove this stray
declartion from the header. gcc6 complains, but clang does not.

Sponsored by: Netflix

(cherry picked from commit eae2ef5a010366c673ad912cae23b426ebb9a8a2)

sys/dev/smartpqi/smartpqi_prototypes.h

index 34b10c5941e8b56e791af8b9bd25cd225971aad8..1aa68cf889b9bce3eb95e14d4690ea7ee7bc6e56 100644 (file)
@@ -37,8 +37,6 @@ void pqisrc_pqi_uninit(pqisrc_softstate_t *);
 int pqisrc_process_config_table(pqisrc_softstate_t *);
 int pqisrc_flush_cache(pqisrc_softstate_t *, enum pqisrc_flush_cache_event_type);
 int pqisrc_wait_for_pqi_reset_completion(pqisrc_softstate_t *);
-inline boolean_t pqisrc_is_firmware_feature_enabled(pqisrc_softstate_t *,
-               struct pqi_conf_table_firmware_features *, uint16_t );
 
 /* pqi_sis.c*/
 int pqisrc_sis_init(pqisrc_softstate_t *);