Message ID | 20220914073027.1340509-1-cuigaosheng1@huawei.com |
---|---|
State | Accepted |
Headers | show |
Series | um: remove unused reactivate_chan() declaration | expand |
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>
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);
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(-)