diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-17 08:00:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-20 15:18:49 +0100 |
commit | b207b378989e6d2b11956351d79b67ad9818f8cf (patch) | |
tree | cd2649fdacc5f484dbbc34d5a329382dd002c549 /cpukit/posix/src/psignalunblockthread.c | |
parent | rtems: Simplify signal handling (diff) | |
download | rtems-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.c | 6 |
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. */ |