diff mbox series

[-next] arm64/sve: Remove unused declaration read_smcr_features()

Message ID 20240810093944.2587809-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] arm64/sve: Remove unused declaration read_smcr_features() | expand

Commit Message

Yue Haibing Aug. 10, 2024, 9:39 a.m. UTC
Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 arch/arm64/include/asm/fpsimd.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Anshuman Khandual Aug. 13, 2024, 3:57 a.m. UTC | #1
On 8/10/24 15:09, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  arch/arm64/include/asm/fpsimd.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
> index bc69ac368d73..f2a84efc3618 100644
> --- a/arch/arm64/include/asm/fpsimd.h
> +++ b/arch/arm64/include/asm/fpsimd.h
> @@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
>  extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
>  extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
>  
> -extern u64 read_smcr_features(void);
> -
>  /*
>   * Helpers to translate bit indices in sve_vq_map to VQ values (and
>   * vice versa).  This allows find_next_bit() to be used to find the

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Mark Brown Aug. 13, 2024, 10:03 a.m. UTC | #2
On Sat, Aug 10, 2024 at 05:39:44PM +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.

Reviewed-by: Mark Brown <broonie@kernel.org>
Zenghui Yu Aug. 14, 2024, 8:47 a.m. UTC | #3
On 2024/8/10 17:39, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  arch/arm64/include/asm/fpsimd.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
> index bc69ac368d73..f2a84efc3618 100644
> --- a/arch/arm64/include/asm/fpsimd.h
> +++ b/arch/arm64/include/asm/fpsimd.h
> @@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
>  extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
>  extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
>  
> -extern u64 read_smcr_features(void);
> -
>  /*
>   * Helpers to translate bit indices in sve_vq_map to VQ values (and
>   * vice versa).  This allows find_next_bit() to be used to find the

Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Will Deacon Aug. 16, 2024, 3:16 p.m. UTC | #4
On Sat, 10 Aug 2024 17:39:44 +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
> 
> 

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/sve: Remove unused declaration read_smcr_features()
      https://git.kernel.org/arm64/c/93b81abc6ea9

Cheers,
diff mbox series

Patch

diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
index bc69ac368d73..f2a84efc3618 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -155,8 +155,6 @@  extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
 extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
 extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
 
-extern u64 read_smcr_features(void);
-
 /*
  * Helpers to translate bit indices in sve_vq_map to VQ values (and
  * vice versa).  This allows find_next_bit() to be used to find the