diff mbox series

[-next] sh: Remove obsoleted declarations for make_maskreg_irq and irq_mask_register

Message ID 20240824120609.2519181-1-cuigaosheng1@huawei.com (mailing list archive)
State New
Headers show
Series [-next] sh: Remove obsoleted declarations for make_maskreg_irq and irq_mask_register | expand

Commit Message

cuigaosheng Aug. 24, 2024, 12:06 p.m. UTC
The make_maskreg_irq() and irq_mask_register have been removed since
commit 5a4053b23262 ("sh: Kill off dead boards."), and now they are
useless, so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/sh/include/asm/irq.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

John Paul Adrian Glaubitz Sept. 26, 2024, 12:26 p.m. UTC | #1
On Sat, 2024-08-24 at 20:06 +0800, Gaosheng Cui wrote:
> The make_maskreg_irq() and irq_mask_register have been removed since
> commit 5a4053b23262 ("sh: Kill off dead boards."), and now they are
> useless, so remove them.
> 
> Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
> ---
>  arch/sh/include/asm/irq.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/sh/include/asm/irq.h b/arch/sh/include/asm/irq.h
> index 0f384b1f45ca..53fc18a3d4c2 100644
> --- a/arch/sh/include/asm/irq.h
> +++ b/arch/sh/include/asm/irq.h
> @@ -13,12 +13,6 @@
>   */
>  #define NO_IRQ_IGNORE		((unsigned int)-1)
>  
> -/*
> - * Simple Mask Register Support
> - */
> -extern void make_maskreg_irq(unsigned int irq);
> -extern unsigned short *irq_mask_register;
> -
>  /*
>   * PINT IRQs
>   */

Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

Thanks for catching this. Will pick this up later today.

Adrian
diff mbox series

Patch

diff --git a/arch/sh/include/asm/irq.h b/arch/sh/include/asm/irq.h
index 0f384b1f45ca..53fc18a3d4c2 100644
--- a/arch/sh/include/asm/irq.h
+++ b/arch/sh/include/asm/irq.h
@@ -13,12 +13,6 @@ 
  */
 #define NO_IRQ_IGNORE		((unsigned int)-1)
 
-/*
- * Simple Mask Register Support
- */
-extern void make_maskreg_irq(unsigned int irq);
-extern unsigned short *irq_mask_register;
-
 /*
  * PINT IRQs
  */