From f21578c4694b55ff9b2959c16e7195f0e529dab5 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Thu, 15 May 2008 13:48:27 +0000 Subject: [PATCH] 'check' label is only used in SMP build. Noticed-by: swildner@ --- sys/net/if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/if.c b/sys/net/if.c index a23d6684e6..2657c6f587 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -32,7 +32,7 @@ * * @(#)if.c 8.3 (Berkeley) 1/4/94 * $FreeBSD: src/sys/net/if.c,v 1.185 2004/03/13 02:35:03 brooks Exp $ - * $DragonFly: src/sys/net/if.c,v 1.64 2008/05/14 11:59:23 sephe Exp $ + * $DragonFly: src/sys/net/if.c,v 1.65 2008/05/15 13:48:27 sephe Exp $ */ #include "opt_compat.h" @@ -348,7 +348,9 @@ if_start_dispatch(struct netmsg *nmsg) } lwkt_serialize_exit(ifp->if_serializer); } +#ifdef SMP check: +#endif if (if_start_need_schedule(ifq, running)) { crit_enter(); if (lmsg->ms_flags & MSGF_DONE) { /* XXX necessary? */ -- 2.41.0