remove unnecessary test.

This commit is contained in:
mrg 1996-05-30 23:33:16 +00:00
parent 13eaf2e29b
commit d3124e1c38

View File

@ -1,4 +1,4 @@
/* $NetBSD: pstat.c,v 1.21 1996/05/30 08:08:27 mrg Exp $ */
/* $NetBSD: pstat.c,v 1.22 1996/05/30 23:33:16 mrg Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@ -43,7 +43,7 @@ static char copyright[] =
#if 0
from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#else
static char *rcsid = "$NetBSD: pstat.c,v 1.21 1996/05/30 08:08:27 mrg Exp $";
static char *rcsid = "$NetBSD: pstat.c,v 1.22 1996/05/30 23:33:16 mrg Exp $";
#endif
#endif /* not lint */
@ -682,8 +682,6 @@ ttymode()
KGET(TTY_TTYLIST, tty_head);
(void)printf(hdr);
for (tp = tty_head.tqh_first; tp; tp = tty.tty_link.tqe_next) {
if (tp == NULL)
return;
KGET2(tp, &tty, sizeof tty, "tty struct");
ttyprt(&tty);
}