Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/obio Remove not yet used stuff



details:   https://anonhg.NetBSD.org/src/rev/ee9ccdb00a57
branches:  trunk
changeset: 790892:ee9ccdb00a57
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 21:24:14 2013 +0000

description:
Remove not yet used stuff

diffstat:

 sys/arch/mac68k/obio/asc.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 6fd0ce05ab35 -r ee9ccdb00a57 sys/arch/mac68k/obio/asc.c
--- a/sys/arch/mac68k/obio/asc.c        Fri Oct 25 21:19:56 2013 +0000
+++ b/sys/arch/mac68k/obio/asc.c        Fri Oct 25 21:24:14 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asc.c,v 1.54 2012/10/27 17:18:00 chs Exp $     */
+/*     $NetBSD: asc.c,v 1.55 2013/10/25 21:24:14 martin Exp $  */
 
 /*
  * Copyright (C) 1997 Scott Reynolds
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.54 2012/10/27 17:18:00 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.55 2013/10/25 21:24:14 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -250,11 +250,13 @@
 int
 ascioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
 {
+       int error;
+#ifdef not_yet
        struct asc_softc *sc;
-       int error;
        int unit = ASCUNIT(dev);
 
        sc = device_lookup_private(&asc_cd, unit);
+#endif
        error = 0;
 
        switch (cmd) {



Home | Main Index | Thread Index | Old Index