linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] um: remove unused reactivate_chan() declaration
@ 2022-09-14  7:30 Gaosheng Cui
  2022-09-14  8:38 ` Anton Ivanov
  0 siblings, 1 reply; 2+ messages in thread
From: Gaosheng Cui @ 2022-09-14  7:30 UTC (permalink / raw)
  To: richard, anton.ivanov, johannes, cuigaosheng1; +Cc: linux-um

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@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);
-- 
2.25.1


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] um: remove unused reactivate_chan() declaration
  2022-09-14  7:30 [PATCH] um: remove unused reactivate_chan() declaration Gaosheng Cui
@ 2022-09-14  8:38 ` Anton Ivanov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Ivanov @ 2022-09-14  8:38 UTC (permalink / raw)
  To: Gaosheng Cui, richard, johannes; +Cc: linux-um



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@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@cambridgegreys.com>

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

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-14  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14  7:30 [PATCH] um: remove unused reactivate_chan() declaration Gaosheng Cui
2022-09-14  8:38 ` Anton Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).