summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxmu/nx_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxmu/nx_connect.c')
-rw-r--r--nuttx/graphics/nxmu/nx_connect.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/nuttx/graphics/nxmu/nx_connect.c b/nuttx/graphics/nxmu/nx_connect.c
index 9e29f736b..401d20d92 100644
--- a/nuttx/graphics/nxmu/nx_connect.c
+++ b/nuttx/graphics/nxmu/nx_connect.c
@@ -99,7 +99,6 @@ static uint32 g_nxcid = 1;
*
* Input Parameters:
* svrmqname - The name for the server incoming message queue
- * cb - Callbacks used to process received NX server messages
*
* Return:
* Success: A non-NULL handle used with subsequent NX accesses
@@ -107,8 +106,7 @@ static uint32 g_nxcid = 1;
*
****************************************************************************/
-NXHANDLE nx_connectionstance(FAR const char *svrmqname,
- FAR const struct nx_callback_s *cb)
+NXHANDLE nx_connectionstance(FAR const char *svrmqname)
{
FAR struct nxfe_conn_s *conn;
struct nxsvrmsg_s msg;
@@ -119,7 +117,7 @@ NXHANDLE nx_connectionstance(FAR const char *svrmqname,
/* Sanity checking */
#ifdef CONFIG_DEBUG
- if (!svrmqname || !cb)
+ if (!svrmqname)
{
errno = EINVAL;
return NULL;
@@ -135,10 +133,6 @@ NXHANDLE nx_connectionstance(FAR const char *svrmqname,
goto errout;
}
- /* Save the callback vtable */
-
- conn->cb = cb;
-
/* Create the client MQ name */
nxmu_semtake(&g_nxlibsem);