diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2013-08-04 07:21:14 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2013-08-04 07:21:14 +0000 |
commit | 3ef1fede2f09340c35488684704f498989c05a98 (patch) | |
tree | 510494f93db4484e69c69b1710b5043946f25158 /sys/arch | |
parent | 58cc39c26ffe793f4ad536284b48b535de6229b5 (diff) |
de-lint hp300
ok miod
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hp300/dev/dca.c | 6 | ||||
-rw-r--r-- | sys/arch/hp300/dev/nhpib.c | 5 | ||||
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 5 |
3 files changed, 3 insertions, 13 deletions
diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c index ef2c0a306da..db911e451bc 100644 --- a/sys/arch/hp300/dev/dca.c +++ b/sys/arch/hp300/dev/dca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dca.c,v 1.42 2010/07/02 17:27:01 nicm Exp $ */ +/* $OpenBSD: dca.c,v 1.43 2013/08/04 07:21:12 martin Exp $ */ /* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */ /* @@ -1073,10 +1073,6 @@ dcacngetc(dev) u_char stat; int c, s; -#ifdef lint - stat = dev; if (stat) return (0); -#endif - s = splhigh(); while (((stat = dca_cn->dca_lsr) & LSR_RXRDY) == 0) ; diff --git a/sys/arch/hp300/dev/nhpib.c b/sys/arch/hp300/dev/nhpib.c index d5b2bb747af..896e1a7f75f 100644 --- a/sys/arch/hp300/dev/nhpib.c +++ b/sys/arch/hp300/dev/nhpib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nhpib.c,v 1.17 2009/07/26 13:43:38 blambert Exp $ */ +/* $OpenBSD: nhpib.c,v 1.18 2013/08/04 07:21:13 martin Exp $ */ /* $NetBSD: nhpib.c,v 1.17 1997/05/05 21:06:41 thorpej Exp $ */ /* @@ -459,9 +459,6 @@ nhpibintr(arg) int stat0; int stat1; -#ifdef lint - if (stat1 = unit) return(1); -#endif if ((hd->hpib_ids & IDS_IR) == 0) return(0); stat0 = hd->hpib_mis; diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 796cb8241e3..50f7d974dd5 100644 --- a/sys/arch/hp300/hp300/machdep.c +++ b/sys/arch/hp300/hp300/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.137 2013/06/11 16:42:08 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.138 2013/08/04 07:21:13 martin Exp $ */ /* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */ /* @@ -986,9 +986,6 @@ parityerrorfind() int i; int found; -#ifdef lint - i = o = pg = 0; if (i) return(0); -#endif /* * If looking is true we are searching for a known parity error * and it has just occurred. All we do is return to the higher |