Source-Changes-HG archive

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

[src/trunk]: src/sys/net kill unused variable in #ifdef ALTQ part, to make th...



details:   https://anonhg.NetBSD.org/src/rev/167c0a48cb26
branches:  trunk
changeset: 552242:167c0a48cb26
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 22 03:29:34 2003 +0000

description:
kill unused variable in #ifdef ALTQ part, to make this compile
with ALTQ configured in

diffstat:

 sys/net/if_tun.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 92ccc2533b7e -r 167c0a48cb26 sys/net/if_tun.c
--- a/sys/net/if_tun.c  Mon Sep 22 02:43:19 2003 +0000
+++ b/sys/net/if_tun.c  Mon Sep 22 03:29:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tun.c,v 1.64 2003/09/21 19:17:14 jdolecek Exp $     */
+/*     $NetBSD: if_tun.c,v 1.65 2003/09/22 03:29:34 jdolecek Exp $     */
 
 /*
  * Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -15,7 +15,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.64 2003/09/21 19:17:14 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.65 2003/09/22 03:29:34 jdolecek Exp $");
 
 #include "tun.h"
 
@@ -862,7 +862,6 @@
 {
        struct tun_softc *tp = ifp->if_softc;
        struct mbuf *m;
-       struct proc     *p;
 
        if (!ALTQ_IS_ENABLED(&ifp->if_snd) && !TBR_IS_ENABLED(&ifp->if_snd))
                return;



Home | Main Index | Thread Index | Old Index