Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/dev Adapt to the change in type of ite_on() -...



details:   https://anonhg.NetBSD.org/src/rev/5abec0ad10bb
branches:  trunk
changeset: 573231:5abec0ad10bb
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 09:25:52 2005 +0000

description:
Adapt to the change in type of ite_on() -- don't pretend that it returns
a value anymore (return type is now void).

diffstat:

 sys/arch/atari/dev/ite.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r ca85aa045da2 -r 5abec0ad10bb sys/arch/atari/dev/ite.c
--- a/sys/arch/atari/dev/ite.c  Sun Jan 23 08:41:02 2005 +0000
+++ b/sys/arch/atari/dev/ite.c  Sun Jan 23 09:25:52 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.43 2005/01/19 02:13:02 chs Exp $     */
+/*     $NetBSD: ite.c,v 1.44 2005/01/23 09:25:52 he Exp $      */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.43 2005/01/19 02:13:02 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.44 2005/01/23 09:25:52 he Exp $");
 
 #include "opt_ddb.h"
 
@@ -370,7 +370,7 @@
 
        if (panicstr && !paniced &&
            (ip->flags & (ITE_ACTIVE | ITE_INGRF)) != ITE_ACTIVE) {
-               (void)ite_on(dev, 3);
+               ite_on(dev, 3);
                paniced = 1;
        }
        SUBR_CURSOR(ip, START_CURSOROPT);
@@ -443,9 +443,7 @@
            && p->p_ucred->cr_uid != 0)
                return (EBUSY);
        if ((ip->flags & ITE_ACTIVE) == 0) {
-               error = ite_on(dev, 0);
-               if (error)
-                       return (error);
+               ite_on(dev, 0);
                first = 1;
        }
        if (!(tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {



Home | Main Index | Thread Index | Old Index