summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-07-19 00:17:17 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-07-19 00:17:17 +0000
commit7e767d21df9a5f231fea78edd311fb71a0d413bd (patch)
treee537a4b64538ed7f38b79503add35c4c26119ce4 /sys/net
parent526af2363f8af511c220944eeba24247c60ec18b (diff)
ttysleep(): drop unused timeout parameter
All callers sleep indefinitely. With help from visa@. ok visa@, ratchov@, kn@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ppp_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index 2bd7d37d68e..d3c337c0e09 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp_tty.c,v 1.51 2018/11/09 14:14:31 claudio Exp $ */
+/* $OpenBSD: ppp_tty.c,v 1.52 2019/07/19 00:17:16 cheloha Exp $ */
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
/*
@@ -308,7 +308,7 @@ pppread(struct tty *tp, struct uio *uio, int flag)
splx(s);
return (EWOULDBLOCK);
}
- error = ttysleep(tp, (caddr_t)&tp->t_rawq, TTIPRI|PCATCH, ttyin, 0);
+ error = ttysleep(tp, (caddr_t)&tp->t_rawq, TTIPRI|PCATCH, ttyin);
if (error) {
splx(s);
return error;