summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/psignalunblockthread.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-17 08:00:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-20 15:18:49 +0100
commitb207b378989e6d2b11956351d79b67ad9818f8cf (patch)
treecd2649fdacc5f484dbbc34d5a329382dd002c549 /cpukit/posix/src/psignalunblockthread.c
parentrtems: Simplify signal handling (diff)
downloadrtems-b207b378989e6d2b11956351d79b67ad9818f8cf.tar.bz2
posix: Remove superfluous check
The api pointer is never NULL. Update #4244.
Diffstat (limited to '')
-rw-r--r--cpukit/posix/src/psignalunblockthread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index 63ed823ab3..a1af20a5af 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -112,12 +112,6 @@ static void _POSIX_signals_Action_handler(
hold_errno = executing->Wait.return_code;
/*
- * api may be NULL in case of a thread close in progress
- */
- if ( !api )
- return;
-
- /*
* In case the executing thread is blocked or about to block on something
* that uses the thread wait information, then this is a kernel bug.
*/