diff options
author | Warner Losh <imp@FreeBSD.org> | 2021-06-03 23:44:27 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-03-09 20:52:23 +0000 |
commit | 8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8 (patch) | |
tree | caa2c80b1acf211827344e68b26be5292fb993eb | |
parent | cfe041a6d1208458bfae4a1c499895790b31d7a2 (diff) | |
download | src-8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8.tar.gz src-8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8.zip |
smartpqi: Remove stray declaration
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)
-rw-r--r-- | sys/dev/smartpqi/smartpqi_prototypes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/smartpqi/smartpqi_prototypes.h b/sys/dev/smartpqi/smartpqi_prototypes.h index 34b10c5941e8..1aa68cf889b9 100644 --- a/sys/dev/smartpqi/smartpqi_prototypes.h +++ b/sys/dev/smartpqi/smartpqi_prototypes.h @@ -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 *); |