From d3124e1c38b361d4e8d6a1d3d3dbf81af4e792ca Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 30 May 1996 23:33:16 +0000 Subject: [PATCH] remove unnecessary test. --- usr.sbin/pstat/pstat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index b87bfe93c662..7879d6e4ea03 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -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); }