diff --git a/src/tests/osal-core-test/osal-core-test.c b/src/tests/osal-core-test/osal-core-test.c index 2f07df408..bc5860676 100644 --- a/src/tests/osal-core-test/osal-core-test.c +++ b/src/tests/osal-core-test/osal-core-test.c @@ -552,7 +552,7 @@ void TestGetInfos(void) OS_bin_sem_prop_t bin_prop; OS_mut_sem_prop_t mut_prop; - /* first step is to create an object to to get the properties of */ + /* first step is to create an object to get the properties of */ status = OS_TaskCreate(&task_0_id, "Task 0", task_generic_no_exit, OSAL_STACKPTR_C(task_0_stack), sizeof(task_0_stack), OSAL_PRIORITY_C(TASK_0_PRIORITY), 0); diff --git a/ut_assert/inc/utstubs.h b/ut_assert/inc/utstubs.h index 351d67b3e..c917bd818 100644 --- a/ut_assert/inc/utstubs.h +++ b/ut_assert/inc/utstubs.h @@ -458,30 +458,6 @@ size_t UT_Stub_CopyFromLocal(UT_EntryKey_t FuncKey, const void *LocalBuffer, siz UT_Stub_RegisterContextWithMetaData(FuncKey, #Parameter, UT_STUBCONTEXT_ARG_TYPE_INDIRECT, &Parameter, \ sizeof(Parameter)) -/** - * Set a stub return value from the handler function - * - * This sets/copies the specified value to the buffer that will be - * returned from the original stub call back to the caller. This - * provides the actual return value and it will override/replace - * any assumed or default return value. - * - * The passed-in buffer should be a pointer to the same data type - * that the stub returns. Any type mismatch is considered an error. - * - * The handler function must call this routine for any stub which - * returns a data type other than int32. - * - * @note If there is no handler function or the handler does not call - * this routine to set a return value, the implementation will use the - * "Int32StatusCode" value as a return if the size matches sizeof(int32). - * - * \param FuncKey The stub function associated with the buffer - * \param BufferPtr Pointer to the local return value - * \param BufferSize Size of the local return value - */ -void UT_Stub_SetReturnValue(UT_EntryKey_t FuncKey, const void *BufferPtr, size_t BufferSize); - /** * Creates a buffer to hold the return value for the stub *