tty: make tty_ldisc_ops::hangup return void
[linux-block.git] / drivers / net / ppp / ppp_synctty.c
index af3e048695b662f256c1d4e51c6427d2eb23fc18..c249db7c466a6d9182d6cf8bcb972714589275a3 100644 (file)
@@ -245,10 +245,9 @@ ppp_sync_close(struct tty_struct *tty)
  * Wait for I/O to driver to complete and unregister PPP channel.
  * This is already done by the close routine, so just call that.
  */
-static int ppp_sync_hangup(struct tty_struct *tty)
+static void ppp_sync_hangup(struct tty_struct *tty)
 {
        ppp_sync_close(tty);
-       return 0;
 }
 
 /*