Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2023 22:28:45 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f59113f9f672 - stable/12 - smartpqi: Remove stray declaration
Message-ID:  <202303222228.32MMSjud001959@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=f59113f9f6723480260215bde58a83ee8dc8a366

commit f59113f9f6723480260215bde58a83ee8dc8a366
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-06-03 23:44:27 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-03-22 22:22:53 +0000

    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)
---
 sys/dev/smartpqi/smartpqi_prototypes.h | 2 --
 1 file changed, 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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303222228.32MMSjud001959>