[PATCH -next] x86/apic: Remove unused declaration uv_irq_2_mmr_info()

Yue Haibing posted 1 patch 1 year, 5 months ago
arch/x86/include/asm/uv/uv_irq.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] x86/apic: Remove unused declaration uv_irq_2_mmr_info()
Posted by Yue Haibing 1 year, 5 months ago
Commit 43fe1abc18a2 ("x86/uv: Use hierarchical irqdomain to manage UV interrupts")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 arch/x86/include/asm/uv/uv_irq.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/uv/uv_irq.h b/arch/x86/include/asm/uv/uv_irq.h
index d6b17c760622..1876b5edd142 100644
--- a/arch/x86/include/asm/uv/uv_irq.h
+++ b/arch/x86/include/asm/uv/uv_irq.h
@@ -31,7 +31,6 @@ enum {
 	UV_AFFINITY_CPU
 };
 
-extern int uv_irq_2_mmr_info(int, unsigned long *, int *);
 extern int uv_setup_irq(char *, int, int, unsigned long, int);
 extern void uv_teardown_irq(unsigned int);
 
-- 
2.34.1
Re: [PATCH -next] x86/apic: Remove unused declaration uv_irq_2_mmr_info()
Posted by Steve Wahl 1 year, 5 months ago
On Wed, Aug 14, 2024 at 11:16:36AM +0800, Yue Haibing wrote:
> Commit 43fe1abc18a2 ("x86/uv: Use hierarchical irqdomain to manage UV interrupts")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Steve Wahl <steve.wahl@hpe.com>

> ---
>  arch/x86/include/asm/uv/uv_irq.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/uv/uv_irq.h b/arch/x86/include/asm/uv/uv_irq.h
> index d6b17c760622..1876b5edd142 100644
> --- a/arch/x86/include/asm/uv/uv_irq.h
> +++ b/arch/x86/include/asm/uv/uv_irq.h
> @@ -31,7 +31,6 @@ enum {
>  	UV_AFFINITY_CPU
>  };
>  
> -extern int uv_irq_2_mmr_info(int, unsigned long *, int *);
>  extern int uv_setup_irq(char *, int, int, unsigned long, int);
>  extern void uv_teardown_irq(unsigned int);
>  
> -- 
> 2.34.1
> 

-- 
Steve Wahl, Hewlett Packard Enterprise
[tip: x86/platform] x86/platform/uv: Remove unused declaration uv_irq_2_mmr_info()
Posted by tip-bot2 for Yue Haibing 1 year, 5 months ago
The following commit has been merged into the x86/platform branch of tip:

Commit-ID:     22f42697265589534df9b109fe0b0efa36896509
Gitweb:        https://git.kernel.org/tip/22f42697265589534df9b109fe0b0efa36896509
Author:        Yue Haibing <yuehaibing@huawei.com>
AuthorDate:    Wed, 14 Aug 2024 11:16:36 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 14 Aug 2024 12:49:35 +02:00

x86/platform/uv: Remove unused declaration uv_irq_2_mmr_info()

Commit 43fe1abc18a2 ("x86/uv: Use hierarchical irqdomain to manage UV interrupts")
removed the implementation but left declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240814031636.1304772-1-yuehaibing@huawei.com

---
 arch/x86/include/asm/uv/uv_irq.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/uv/uv_irq.h b/arch/x86/include/asm/uv/uv_irq.h
index d6b17c7..1876b5e 100644
--- a/arch/x86/include/asm/uv/uv_irq.h
+++ b/arch/x86/include/asm/uv/uv_irq.h
@@ -31,7 +31,6 @@ enum {
 	UV_AFFINITY_CPU
 };
 
-extern int uv_irq_2_mmr_info(int, unsigned long *, int *);
 extern int uv_setup_irq(char *, int, int, unsigned long, int);
 extern void uv_teardown_irq(unsigned int);