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

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <95401772af7f0d8ce83e608463b245fca9e565f4.camel@physik.fu-berlin.de>
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 <[email protected]>
> ---
>  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 <[email protected]>

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

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.