summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2017-03-08 14:01:31 -0500
committerAngela Stegmaier <angelabaker@ti.com>2017-03-14 09:28:23 -0500
commit0d2897f57f46c7da0909830db10e5d33dcdb209a (patch)
treebd9faf0917784fb10971878a3d57b48f9f736c8a
parent9dd159d851496047b6833a5b7c71ed9ea95efc07 (diff)
downloadipc-0d2897f57f46c7da0909830db10e5d33dcdb209a.tar.gz
MessageQ: Remove Error declaration with local MessageQ object not available
There are cases where there is a MessageQ created on a different process, in which case the local queue obj will be NULL. The declaration of fail need to be removed. Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--linux/src/api/MessageQ.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/src/api/MessageQ.c b/linux/src/api/MessageQ.c
index 945712e..f114810 100644
--- a/linux/src/api/MessageQ.c
+++ b/linux/src/api/MessageQ.c
@@ -909,9 +909,6 @@ Int MessageQ_put(MessageQ_QueueId queueId, MessageQ_Msg msg)
goto done;
}
}
- /* If we get here, then we have failed to deliver a local message. */
- status = MessageQ_E_FAIL;
- goto done;
}
/* Getting here implies the message is outbound. Must give it to