The patch titled char/epca.c: remove unused function has been removed from the -mm tree. Its filename was char-epcac-remove-unused-function.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: char/epca.c: remove unused function From: Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> "drivers/char/epca.c:2741: warning: 'get_termio' defined but not used" Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/epca.c | 17 ----------------- 1 file changed, 17 deletions(-) diff -puN drivers/char/epca.c~char-epcac-remove-unused-function drivers/char/epca.c --- a/drivers/char/epca.c~char-epcac-remove-unused-function +++ a/drivers/char/epca.c @@ -209,7 +209,6 @@ static void digi_send_break(struct chann static void setup_empty_event(struct tty_struct *tty, struct channel *ch); void epca_setup(char *, int *); -static int get_termio(struct tty_struct *, struct termio __user *); static int pc_write(struct tty_struct *, const unsigned char *, int); static int pc_init(void); static int init_PCI(void); @@ -2362,15 +2361,6 @@ static int pc_ioctl(struct tty_struct *t switch (cmd) { /* Begin switch cmd */ - -#if 0 /* Handled by calling layer properly */ - case TCGETS: - if (copy_to_user(argp, tty->termios, sizeof(struct ktermios))) - return -EFAULT; - return 0; - case TCGETA: - return get_termio(tty, argp); -#endif case TCSBRK: /* SVID version: non-zero arg --> no break */ retval = tty_check_change(tty); if (retval) @@ -2735,13 +2725,6 @@ static void setup_empty_event(struct tty memoff(ch); } /* End setup_empty_event */ -/* --------------------- Begin get_termio ----------------------- */ - -static int get_termio(struct tty_struct * tty, struct termio __user * termio) -{ /* Begin get_termio */ - return kernel_termios_to_user_termio(termio, tty->termios); -} /* End get_termio */ - /* ---------------------- Begin epca_setup -------------------------- */ void epca_setup(char *str, int *ints) { /* Begin epca_setup */ _ Patches currently in -mm which might be from michal.k.k.piotrowski@xxxxxxxxx are origin.patch git-ia64.patch git-input.patch i386-irq-kill-irq-compression-fix.patch extend-notifier_call_chain-to-count-nr_calls-made-fixes-3.patch edac-new-opteron-athlon64-memory-controller-driver.patch reiser4-configh.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html