[PATCH 29/30] return statement cleanup - kill pointless parenthesesin kernel/signal.c

From: Jesper Juhl
Date: Wed Dec 15 2004 - 20:14:54 EST



This patch removes pointless parentheses from return statements in
kernel/signal.c

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>


--- linux-2.6.10-rc3-bk8-orig/kernel/signal.c 2004-12-06 22:24:56.000000000 +0100
+++ linux-2.6.10-rc3-bk8/kernel/signal.c 2004-12-16 00:04:32.000000000 +0100
@@ -279,7 +279,7 @@ static struct sigqueue *__sigqueue_alloc
q->user = get_uid(t->user);
atomic_inc(&q->user->sigpending);
}
- return(q);
+ return q;
}

static inline void __sigqueue_free(struct sigqueue *q)
@@ -1294,7 +1294,7 @@ struct sigqueue *sigqueue_alloc(void)

if ((q = __sigqueue_alloc(current, GFP_KERNEL)))
q->flags |= SIGQUEUE_PREALLOC;
- return(q);
+ return q;
}

void sigqueue_free(struct sigqueue *q)
@@ -1358,7 +1358,7 @@ send_sigqueue(int sig, struct sigqueue *
out:
spin_unlock_irqrestore(&p->sighand->siglock, flags);
read_unlock(&tasklist_lock);
- return(ret);
+ return ret;
}

int
@@ -1403,7 +1403,7 @@ send_group_sigqueue(int sig, struct sigq
out:
spin_unlock_irqrestore(&p->sighand->siglock, flags);
read_unlock(&tasklist_lock);
- return(ret);
+ return ret;
}

/*


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/