[PATCH] um: remove unused reactivate_chan() declaration

Anton Ivanov anton.ivanov at cambridgegreys.com
Wed Sep 14 01:38:31 PDT 2022



On 14/09/2022 08:30, Gaosheng Cui wrote:
> All uses of reactivate_chan() were removed by
> commit 940b241d9050 ("um: Remove obsolete reenable_XX
> calls"), so remove the declaration, too.
> 
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> ---
>   arch/um/drivers/chan.h | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/um/drivers/chan.h b/arch/um/drivers/chan.h
> index c37cc4f26f91..3fec3b8406e9 100644
> --- a/arch/um/drivers/chan.h
> +++ b/arch/um/drivers/chan.h
> @@ -36,7 +36,6 @@ extern int console_write_chan(struct chan *chan, const char *buf,
>   			      int len);
>   extern int console_open_chan(struct line *line, struct console *co);
>   extern void deactivate_chan(struct chan *chan, int irq);
> -extern void reactivate_chan(struct chan *chan, int irq);
>   extern void chan_enable_winch(struct chan *chan, struct tty_port *port);
>   extern int enable_chan(struct line *line);
>   extern void close_chan(struct line *line);

Acked-By: Anton Ivanov <anton.ivanov at cambridgegreys.com>

-- 
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/



More information about the linux-um mailing list