DragonFly BSD
DragonFly bugs List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[PATCH 1/2] Remove double semi-colon


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxx>
Date: Mon, 25 Apr 2011 00:45:19 +0900

---
 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"



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]