summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2005-10-12 15:17:19 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2005-10-12 15:17:19 +0000
commitdc0f77c91725075e4748cdee90a5a617a0e92a44 (patch)
treeef34e12bfe702fb215296823c4ea578b7301eca1 /sys/net
parent9b817aac6ea785b85b6b4aaa9c8a60f611186fa0 (diff)
no need to call mfree() since m is always NULL; from Andrey Matveev
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bridgestp.c5
1 files changed, 1 insertions, 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