From nobody Wed Mar 09 20:52:56 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B03C01A145E9; Wed, 9 Mar 2022 20:52:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDPXn5Prkz3Qdh; Wed, 9 Mar 2022 20:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646859178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VBfrbCsItEgml17+n0DSmSZUlGk4ThmmIGsfpdSRsJs=; b=Uor18AXDiSAruY0Jbxatwnuy+24jxkVA+mvtcKKxO8g2J07eD/sbfsuKWD2ol73rEmMIbZ 4HAVhn0kDQQ9MsBNRAJf8yYxBp9W7XRu+SzO7uqz3zkxeHl/xhLdIkt5ac9K1wiPfn4sZ5 6Nco3M6FQfpM7/pN3181oRJZDS7Ca0h0ci0RIlFLPthlV8c7u20LdFrK3POQ+Ty+siJVkR rMYZJY7EJgYkFoByXudNk6q5TzpRnFpURb8crrfxYwlRSCDUiQZOVCuHDeKguJBx/1bd62 X5TEMmPc7M0jEuu9rVARMeSkzhMPJa9Pvwj0mwYd67wyWlm1tCJK/NlQtaE66g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDC16180A2; Wed, 9 Mar 2022 20:52:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 229KquOh062250; Wed, 9 Mar 2022 20:52:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 229KquU6062249; Wed, 9 Mar 2022 20:52:56 GMT (envelope-from git) Date: Wed, 9 Mar 2022 20:52:56 GMT Message-Id: <202203092052.229KquU6062249@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 8f37a79a9fdd - stable/13 - smartpqi: Remove stray declaration List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646859178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VBfrbCsItEgml17+n0DSmSZUlGk4ThmmIGsfpdSRsJs=; b=V4/d2ZyDSe0ksMyEpaELJx9i9u724AlooOCJPPCMLMglgBLbIpTiyc1llNgIB0Uiunh2O4 BkU2e8o5u0N2YvYUkCBuObOjRwiqcIwAOn8UrjxkPjpyrRzGVppKNnOVSfImU/qkuCeT/G vmibzuYaK+BjIjq4Zbz20jAnyhbTQ1Zf504IAVeWueuUm99WoS+wuL+4QnEoiVsAd8gKaS /iUHeEHoWAON85d/mXABVHfSR4pxvdNIZhgI0Xl8tZayTD55STKGCdxjG8tLSllo4ai8Tz 8OJkCRn5AgVmceFhwf0xy1oWR3jwRPUWWYxgtra8eS0o/s2NFKEIOazGqjHgWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646859178; a=rsa-sha256; cv=none; b=sxNU8lxAu98D4FDjxgPivc9cgdwsqVYhIp4JyHmeSprgcniERkclvj/SaiCaJT9wJVxHJd v9nLEOGW+WHK8Ngw/ZyCbhFU+bPySXeEvRH5+RSlYgHoL6liyGRTD1Gp7QSU5PX0y34ELE PazoUSicDmB8AadoJaLoRjSTsiQFou75kvtjrf0B4sld84bEEGU/qWxffjtIkKFM+IWXs8 L+9gpjZaaiv2N9osbOtX0H8/8WRifadykTaiPLcfGzoe5CHm0pCyh/kEoHDNCWllLZTqNh ZAcz5WSL8pdfpLiLqknTyf8BEfWKvmYG8AXza26h5DLZ5TCm/xvLTnCLgPqOAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8 commit 8f37a79a9fdd3d72522e4d8d23c3b197f2a916d8 Author: Warner Losh AuthorDate: 2021-06-03 23:44:27 +0000 Commit: Warner Losh CommitDate: 2022-03-09 20:52:23 +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 *);