From 14ddcb3dbf40fd94be9377112d24f65ca78d073d Mon Sep 17 00:00:00 2001 From: bje Date: Sun, 12 Jul 1998 15:08:46 +0000 Subject: * mutex.c (pthread_mutexattr_destory): Simplify flow of control. --- mutex.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mutex.c') diff --git a/mutex.c b/mutex.c index e27c840..0df939b 100644 --- a/mutex.c +++ b/mutex.c @@ -97,11 +97,9 @@ pthread_mutexattr_destroy(pthread_mutexattr_t *attr) { return EINVAL; } - else - { - free(attr->ptr); - return 0; - } + + free(attr->ptr); + return 0; } int -- cgit v1.2.3