[PATCH 1/2] Remove double semi-colon

YONETANI Tomokazu y0netan1 at dragonflybsd.org
Sun Apr 24 08:45:19 PDT 2011


---
 sys/kern/kern_exit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 1e5a110..dda3a3e 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -686,7 +686,7 @@ lwp_exit(int masterexit)
 static int
 lwp_wait(struct lwp *lp)
 {
-	struct thread *td = lp->lwp_thread;;
+	struct thread *td = lp->lwp_thread;
 
 	KKASSERT(lwkt_preempted_proc() != lp);
 
@@ -724,7 +724,7 @@ lwp_wait(struct lwp *lp)
 void
 lwp_dispose(struct lwp *lp)
 {
-	struct thread *td = lp->lwp_thread;;
+	struct thread *td = lp->lwp_thread;
 
 	KKASSERT(lwkt_preempted_proc() != lp);
 	KKASSERT(td->td_refs == 0);
-- 
1.7.3.2


--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="0002-kernel-Replace-LW-P-HOLD-RELE-to-use-refcount-APIs.patch"





More information about the Bugs mailing list