Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Remove conditional around label. Its allways used in...
details: https://anonhg.NetBSD.org/src/rev/03bc3085ac70
branches: trunk
changeset: 572313:03bc3085ac70
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Dec 29 17:57:19 2004 +0000
description:
Remove conditional around label. Its allways used in the code and thus not
explicitly only for the protocols indicated by the #if
Allthough its unlikely a kernel will be build without NET_INET, it will
fail compilation here when NET_INET is not defined.
diffstat:
sys/net/if_tokensubr.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r d24c39f45b8b -r 03bc3085ac70 sys/net/if_tokensubr.c
--- a/sys/net/if_tokensubr.c Wed Dec 29 15:49:42 2004 +0000
+++ b/sys/net/if_tokensubr.c Wed Dec 29 17:57:19 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tokensubr.c,v 1.27 2004/12/06 02:59:23 christos Exp $ */
+/* $NetBSD: if_tokensubr.c,v 1.28 2004/12/29 17:57:19 reinoud Exp $ */
/*
* Copyright (c) 1982, 1989, 1993
@@ -99,7 +99,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.27 2004/12/06 02:59:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.28 2004/12/29 17:57:19 reinoud Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@@ -732,9 +732,7 @@
default:
/* printf("token_input: unknown dsap 0x%x\n", l->llc_dsap); */
ifp->if_noproto++;
-#if defined(INET) || defined(NS) || defined(DECNET)
dropanyway:
-#endif
m_freem(m);
return;
}
Home |
Main Index |
Thread Index |
Old Index