summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/keyfreememory.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/keyfreememory.c')
-rw-r--r--cpukit/posix/src/keyfreememory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/src/keyfreememory.c b/cpukit/posix/src/keyfreememory.c
index a103499b6a..b6449ffa21 100644
--- a/cpukit/posix/src/keyfreememory.c
+++ b/cpukit/posix/src/keyfreememory.c
@@ -25,6 +25,5 @@ void _POSIX_Keys_Free_memory(
uint32_t the_api;
for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )
- if ( the_key->Values[ the_api ] )
- _Workspace_Free( the_key->Values[ the_api ] );
+ _Workspace_Free( the_key->Values[ the_api ] );
}