diff options
Diffstat (limited to 'arch/um/drivers/chan_kern.c')
-rw-r--r-- | arch/um/drivers/chan_kern.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c index db3082b4da46..6e51424745ab 100644 --- a/arch/um/drivers/chan_kern.c +++ b/arch/um/drivers/chan_kern.c | |||
@@ -125,7 +125,7 @@ static int open_one_chan(struct chan *chan) | |||
125 | return 0; | 125 | return 0; |
126 | } | 126 | } |
127 | 127 | ||
128 | int open_chan(struct list_head *chans) | 128 | static int open_chan(struct list_head *chans) |
129 | { | 129 | { |
130 | struct list_head *ele; | 130 | struct list_head *ele; |
131 | struct chan *chan; | 131 | struct chan *chan; |
@@ -583,19 +583,6 @@ int parse_chan_pair(char *str, struct line *line, int device, | |||
583 | return 0; | 583 | return 0; |
584 | } | 584 | } |
585 | 585 | ||
586 | int chan_out_fd(struct list_head *chans) | ||
587 | { | ||
588 | struct list_head *ele; | ||
589 | struct chan *chan; | ||
590 | |||
591 | list_for_each(ele, chans) { | ||
592 | chan = list_entry(ele, struct chan, list); | ||
593 | if (chan->primary && chan->output) | ||
594 | return chan->fd; | ||
595 | } | ||
596 | return -1; | ||
597 | } | ||
598 | |||
599 | void chan_interrupt(struct list_head *chans, struct delayed_work *task, | 586 | void chan_interrupt(struct list_head *chans, struct delayed_work *task, |
600 | struct tty_struct *tty, int irq) | 587 | struct tty_struct *tty, int irq) |
601 | { | 588 | { |