From dc0f77c91725075e4748cdee90a5a617a0e92a44 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Wed, 12 Oct 2005 15:17:19 +0000 Subject: no need to call mfree() since m is always NULL; from Andrey Matveev --- sys/net/bridgestp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index ac9bbbac61e..73304bfbed5 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bridgestp.c,v 1.18 2005/06/07 17:53:44 deraadt Exp $ */ +/* $OpenBSD: bridgestp.c,v 1.19 2005/10/12 15:17:18 markus Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -423,10 +423,7 @@ bstp_transmit_tcn(sc) if (error == 0 && (ifp->if_flags & IFF_OACTIVE) == 0) (*ifp->if_start)(ifp); m = NULL; - splx(s); - if (m != NULL) - m_freem(m); } void -- cgit v1.2.3