[PATCH] char/epca.c: remove unused function

"drivers/char/epca.c:2741: warning: 'get_termio' defined but not used"

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Michal Piotrowski and committed by Linus Torvalds 6346190b e81ce1f7

-17
-17
drivers/char/epca.c
··· 209 209 static void setup_empty_event(struct tty_struct *tty, struct channel *ch); 210 210 void epca_setup(char *, int *); 211 211 212 - static int get_termio(struct tty_struct *, struct termio __user *); 213 212 static int pc_write(struct tty_struct *, const unsigned char *, int); 214 213 static int pc_init(void); 215 214 static int init_PCI(void); ··· 2361 2362 2362 2363 switch (cmd) 2363 2364 { /* Begin switch cmd */ 2364 - 2365 - #if 0 /* Handled by calling layer properly */ 2366 - case TCGETS: 2367 - if (copy_to_user(argp, tty->termios, sizeof(struct ktermios))) 2368 - return -EFAULT; 2369 - return 0; 2370 - case TCGETA: 2371 - return get_termio(tty, argp); 2372 - #endif 2373 2365 case TCSBRK: /* SVID version: non-zero arg --> no break */ 2374 2366 retval = tty_check_change(tty); 2375 2367 if (retval) ··· 2724 2734 writeb(1, &bc->iempty); 2725 2735 memoff(ch); 2726 2736 } /* End setup_empty_event */ 2727 - 2728 - /* --------------------- Begin get_termio ----------------------- */ 2729 - 2730 - static int get_termio(struct tty_struct * tty, struct termio __user * termio) 2731 - { /* Begin get_termio */ 2732 - return kernel_termios_to_user_termio(termio, tty->termios); 2733 - } /* End get_termio */ 2734 2737 2735 2738 /* ---------------------- Begin epca_setup -------------------------- */ 2736 2739 void epca_setup(char *str, int *ints)