summaryrefslogtreecommitdiff
path: root/common/src/txe_block_pool_delete.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common/src/txe_block_pool_delete.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/txe_block_pool_delete.c')
-rw-r--r--common/src/txe_block_pool_delete.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/txe_block_pool_delete.c b/common/src/txe_block_pool_delete.c
index 42342568..2ee152b9 100644
--- a/common/src/txe_block_pool_delete.c
+++ b/common/src/txe_block_pool_delete.c
@@ -87,7 +87,7 @@ TX_THREAD *thread_ptr;
/* Default status to success. */
status = TX_SUCCESS;
#endif
-
+
/* Check for an invalid pool pointer. */
if (pool_ptr == TX_NULL)
{
@@ -99,7 +99,7 @@ TX_THREAD *thread_ptr;
/* Now check the pool ID. */
else if (pool_ptr -> tx_block_pool_id != TX_BLOCK_POOL_ID)
{
-
+
/* Pool pointer is invalid, return appropriate error code. */
status = TX_POOL_ERROR;
}
@@ -109,7 +109,7 @@ TX_THREAD *thread_ptr;
/* Is the call from an ISR or initialization? */
else if (TX_THREAD_GET_SYSTEM_STATE() != ((ULONG) 0))
{
-
+
/* Invalid caller of this function, return appropriate error code. */
status = TX_CALLER_ERROR;
}
@@ -136,7 +136,7 @@ TX_THREAD *thread_ptr;
/* Call actual block pool delete function. */
status = _tx_block_pool_delete(pool_ptr);
-
+
#ifndef TX_TIMER_PROCESS_IN_ISR
}
#endif