TaiJuWu commented on code in PR #11769:
URL: https://github.com/apache/nuttx/pull/11769#discussion_r1527957327


##########
sched/semaphore/sem_rw.c:
##########
@@ -253,16 +255,13 @@ int init_rwsem(FAR rw_semaphore_t *rwsem)
 
   /* Initialize structure information */
 
-  ret = nxmutex_init(&rwsem->protected);
-  if (ret < 0)
-    {
-      return ret;
-    }
+#ifdef CONFIG_SMP

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to