Source-Changes-HG archive

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

[src/kqueue]: src/sys/dev/sbus make compile (g/c unused code)



details:   https://anonhg.NetBSD.org/src/rev/39dcc211dceb
branches:  kqueue
changeset: 512473:39dcc211dceb
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jun 18 17:15:09 2002 +0000

description:
make compile (g/c unused code)

diffstat:

 sys/dev/sbus/bpp.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 665f653da3c6 -r 39dcc211dceb sys/dev/sbus/bpp.c
--- a/sys/dev/sbus/bpp.c        Tue Jun 18 17:13:38 2002 +0000
+++ b/sys/dev/sbus/bpp.c        Tue Jun 18 17:15:09 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpp.c,v 1.8.4.3 2002/03/16 16:01:28 jdolecek Exp $ */
+/*     $NetBSD: bpp.c,v 1.8.4.4 2002/06/18 17:15:09 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpp.c,v 1.8.4.3 2002/03/16 16:01:28 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpp.c,v 1.8.4.4 2002/06/18 17:15:09 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/ioctl.h>
@@ -517,8 +517,6 @@
 static int
 filt_bppread(struct knote *kn, long hint)
 {
-       struct bpp_softc *sc = (void *) kn->kn_hook;
-
        /* XXX Read not yet implemented. */
        return (0);
 }



Home | Main Index | Thread Index | Old Index