From: Richard Weinberger Date: Mon, 4 Jun 2012 18:58:18 +0000 (+0200) Subject: um: Remove dead code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df7b86f313fd26b5021afde7e66b35f9267b1261;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git um: Remove dead code Signed-off-by: Richard Weinberger --- diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index a39d53eaf57b..cba95d959af1 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c @@ -98,27 +98,6 @@ static int ssl_open(struct tty_struct *tty, struct file *filp) return err; } -#if 0 -static void ssl_flush_buffer(struct tty_struct *tty) -{ - return; -} - -static void ssl_stop(struct tty_struct *tty) -{ - printk(KERN_ERR "Someone should implement ssl_stop\n"); -} - -static void ssl_start(struct tty_struct *tty) -{ - printk(KERN_ERR "Someone should implement ssl_start\n"); -} - -void ssl_hangup(struct tty_struct *tty) -{ -} -#endif - static const struct tty_operations ssl_ops = { .open = ssl_open, .close = line_close, @@ -131,11 +110,6 @@ static const struct tty_operations ssl_ops = { .set_termios = line_set_termios, .throttle = line_throttle, .unthrottle = line_unthrottle, -#if 0 - .stop = ssl_stop, - .start = ssl_start, - .hangup = ssl_hangup, -#endif }; /* Changed by ssl_init and referenced by ssl_exit, which are both serialized