libnx: Remove the unnecessary invocation of _SEM_SETPROTOCOL
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3f12b4f1e3
commit
f8d97aea9e
|
@ -102,12 +102,6 @@ int nx_bitmap(NXWINDOW hwnd, FAR const struct nxgl_rect_s *dest,
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* The sem_done semaphore is used for signaling and, hence, should not have
|
||||
* priority inheritance enabled.
|
||||
*/
|
||||
|
||||
_SEM_SETPROTOCOL(&sem_done, SEM_PRIO_NONE);
|
||||
|
||||
/* Forward the fill command to the server */
|
||||
|
||||
ret = nxmu_sendwindow(wnd, &outmsg, sizeof(struct nxsvrmsg_bitmap_s));
|
||||
|
|
|
@ -97,12 +97,6 @@ int nx_getrectangle(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* The sem_done semaphore is used for signaling and, hence, should not have
|
||||
* priority inheritance enabled.
|
||||
*/
|
||||
|
||||
_SEM_SETPROTOCOL(&sem_done, SEM_PRIO_NONE);
|
||||
|
||||
/* Forward the fill command to the server */
|
||||
|
||||
ret = nxmu_sendwindow(wnd, &outmsg,
|
||||
|
|
Loading…
Reference in New Issue