]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
um: Remove dead code
authorRichard Weinberger <richard@nod.at>
Mon, 4 Jun 2012 18:58:18 +0000 (20:58 +0200)
committerRichard Weinberger <richard@nod.at>
Sat, 28 Jul 2012 15:47:59 +0000 (17:47 +0200)
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/ssl.c

index a39d53eaf57b9d312923f2d701c85aa24b0eda1a..cba95d959af1b5555185a73edbffd1eb3a35a0e2 100644 (file)
@@ -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