From b207b378989e6d2b11956351d79b67ad9818f8cf Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 17 Feb 2021 08:00:29 +0100 Subject: posix: Remove superfluous check The api pointer is never NULL. Update #4244. --- cpukit/posix/src/psignalunblockthread.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpukit/posix/src') 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 @@ -111,12 +111,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. -- cgit v1.2.3