libnx: Remove the unnecessary invocation of _SEM_SETPROTOCOL

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-30 00:07:41 +08:00 committed by Petro Karashchenko
parent 3f12b4f1e3
commit f8d97aea9e
2 changed files with 0 additions and 12 deletions

View File

@ -102,12 +102,6 @@ int nx_bitmap(NXWINDOW hwnd, FAR const struct nxgl_rect_s *dest,
return ret; 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 */ /* Forward the fill command to the server */
ret = nxmu_sendwindow(wnd, &outmsg, sizeof(struct nxsvrmsg_bitmap_s)); ret = nxmu_sendwindow(wnd, &outmsg, sizeof(struct nxsvrmsg_bitmap_s));

View File

@ -97,12 +97,6 @@ int nx_getrectangle(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
return ret; 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 */ /* Forward the fill command to the server */
ret = nxmu_sendwindow(wnd, &outmsg, ret = nxmu_sendwindow(wnd, &outmsg,