From 24be35b1a31addeb899a7b02091cd069a49079cc Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 25 Mar 2011 14:51:44 +0000 Subject: [PATCH] RTL8187 I/O routines git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3414 42af7a65-404d-4744-a932-0658087f49c3 --- net/uip/uip_lock.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/uip/uip_lock.c b/net/uip/uip_lock.c index f11ae1c0e80..f7e218d914c 100644 --- a/net/uip/uip_lock.c +++ b/net/uip/uip_lock.c @@ -4,7 +4,6 @@ * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -156,7 +155,7 @@ void uip_unlock(uip_lock_t flags) if (g_count == 1) { - /* We no longer hold the semaphored */ + /* We no longer hold the semaphore */ g_holder = NO_HOLDER; g_count = 0; @@ -164,7 +163,7 @@ void uip_unlock(uip_lock_t flags) } else { - /* We still hold the seamphore. Just decrement the count */ + /* We still hold the semaphore. Just decrement the count */ g_count--; }